2
0
Эх сурвалжийг харах

[server] remove early macro context flush (#10932)

* [server] fix some x is redefined from x

(checking with CI what is breaking with this change...)

* [server] remove flush instead of commenting out
Rudy Ges 2 жил өмнө
parent
commit
b3b3d6b48a

+ 0 - 1
src/typing/macroContext.ml

@@ -431,7 +431,6 @@ let rec init_macro_interp ctx mctx mint =
 	let p = null_pos in
 	ignore(TypeloadModule.load_module mctx (["haxe";"macro"],"Expr") p);
 	ignore(TypeloadModule.load_module mctx (["haxe";"macro"],"Type") p);
-	flush_macro_context mint ctx;
 	Interp.init mint;
 	if !macro_enable_cache && not (Common.defined mctx.com Define.NoMacroCache) then begin
 		macro_interp_cache := Some mint;