We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a36fada commit 69e3919Copy full SHA for 69e3919
tests/tools_tests/src/expected/FormatDocstringsTestError.res.expected
@@ -1,6 +1,6 @@
1
2
Syntax error in code block in docstring
3
- /Users/zth/OSS/rescript-compiler/tests/tools_tests/src/docstrings-format/FormatDocstringsTestError.res:5:10-6:3
+ FormatDocstringsTestError.res:5:10-6:3
4
5
3 [2m│[0m
6
4 [2m│[0m
tools/src/tools.ml
@@ -823,7 +823,7 @@ module FormatDocstrings = struct
823
let {Res_driver.parsetree = structure; comments; source; filename} =
824
parser ~filename:path
825
in
826
-
+ let filename = Filename.basename filename in
827
let mapper = makeMapper ~displayFilename:filename in
828
let astMapped = mapper.structure mapper structure in
829
( Res_printer.print_implementation
0 commit comments