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 917dde4 commit f9f09c4Copy full SHA for f9f09c4
jscomp/core/js_implementation.ml
@@ -165,11 +165,12 @@ let after_parsing_impl ppf outputprefix (ast : Parsetree.structure) =
165
Ml_binary.write_ast Ml !Location.input_name ast oc;
166
close_out oc ;
167
end;
168
- if !Js_config.binary_ast then
+ if !Js_config.binary_ast then begin
169
let sourcefile = !Location.input_name in
170
Binary_ast.write_ast ~sourcefile
171
Ml ~output:(outputprefix ^ Filename.extension sourcefile ^ "ast")
172
- ast ;
+ ast
173
+ end ;
174
if !Js_config.syntax_only then
175
Warnings.check_fatal ()
176
else
0 commit comments