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 f9f09c4 commit 6bdba19Copy full SHA for 6bdba19
lib/4.06.1/whole_compiler.ml
@@ -415941,11 +415941,12 @@ let after_parsing_impl ppf outputprefix (ast : Parsetree.structure) =
415941
Ml_binary.write_ast Ml !Location.input_name ast oc;
415942
close_out oc ;
415943
end;
415944
- if !Js_config.binary_ast then
+ if !Js_config.binary_ast then begin
415945
let sourcefile = !Location.input_name in
415946
Binary_ast.write_ast ~sourcefile
415947
Ml ~output:(outputprefix ^ Filename.extension sourcefile ^ "ast")
415948
- ast ;
+ ast
415949
+ end ;
415950
if !Js_config.syntax_only then
415951
Warnings.check_fatal ()
415952
else
0 commit comments