|
@@ -310,7 +310,10 @@ let do_type ctx mctx actx display_file_dot_path =
|
|
com.callbacks#run com.error_ext com.callbacks#get_after_init_macros;
|
|
com.callbacks#run com.error_ext com.callbacks#get_after_init_macros;
|
|
run_or_diagnose ctx (fun () ->
|
|
run_or_diagnose ctx (fun () ->
|
|
if com.display.dms_kind <> DMNone then DisplayTexpr.check_display_file tctx cs;
|
|
if com.display.dms_kind <> DMNone then DisplayTexpr.check_display_file tctx cs;
|
|
- List.iter (fun cpath -> ignore(tctx.Typecore.g.Typecore.do_load_module tctx cpath null_pos)) (List.rev actx.classes);
|
|
|
|
|
|
+ List.iter (fun cpath ->
|
|
|
|
+ ignore(tctx.Typecore.g.Typecore.do_load_module tctx cpath null_pos);
|
|
|
|
+ Typecore.flush_pass tctx.g PBuildClass "actx.classes"
|
|
|
|
+ ) (List.rev actx.classes);
|
|
Finalization.finalize tctx;
|
|
Finalization.finalize tctx;
|
|
);
|
|
);
|
|
end with TypeloadParse.DisplayInMacroBlock ->
|
|
end with TypeloadParse.DisplayInMacroBlock ->
|