We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 228685d commit 3111a83Copy full SHA for 3111a83
analysis/src/Hint.ml
@@ -70,7 +70,11 @@ let inlay ~path ~pos ~maxLength ~currentFile ~debug =
70
Ast_iterator.default_iterator.value_binding iterator vb
71
in
72
let iterator = {Ast_iterator.default_iterator with value_binding} in
73
- let sourceFile = match currentFile with Some f -> f | None -> path in
+ let sourceFile =
74
+ match currentFile with
75
+ | Some f -> f
76
+ | None -> path
77
+ in
78
(if Files.classifySourceFile path = Res then
79
let parser =
80
Res_driver.parsing_engine.parse_implementation ~for_printer:false
0 commit comments