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.
-stop-after typing
1 parent 467ae7b commit 3d26bbeCopy full SHA for 3d26bbe
driver/compile_common.ml
@@ -139,9 +139,10 @@ let implementation ~hook_parse_tree ~hook_typed_tree info ~backend =
139
let typed = typecheck_impl info parsed in
140
hook_typed_tree typed;
141
if Clflags.(should_stop_after Compiler_pass.Typing) then () else begin
142
- backend info typed
+ backend info typed;
143
end;
144
145
- Builtin_attributes.warn_unchecked_property ();
+ if not (Clflags.(should_stop_after Compiler_pass.Selection)) then
146
+ Builtin_attributes.warn_unchecked_property ();
147
Warnings.check_fatal ();
148
)
0 commit comments