Kaynağa Gözat

minor bugfix with haxe.rtti.Generic

Nicolas Cannasse 15 yıl önce
ebeveyn
işleme
e02d2ff66b
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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)