Explorar o código

minor bugfix with haxe.rtti.Generic

Nicolas Cannasse %!s(int64=15) %!d(string=hai) anos
pai
achega
e02d2ff66b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      codegen.ml

+ 1 - 0
codegen.ml

@@ -312,6 +312,7 @@ let build_instance ctx mtype p =
 					unify_raise ctx (build_generic ctx c p pl) t p;
 					t
 				) in
+				ctx.delays := [fun() -> ignore ((!r)())] :: !(ctx.delays);
 				TLazy r
 			| _ ->
 				TInst (c,pl)