Browse Source

try to reach parity with development for now

Simon Krajewski 5 years ago
parent
commit
4d98e930ae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/context/typecore.ml

+ 2 - 2
src/context/typecore.ml

@@ -549,8 +549,8 @@ let with_contextual_monos ctx f =
 	let old_monos = ctx.monomorphs in
 	let old_monos = ctx.monomorphs in
 	ctx.monomorphs <- [];
 	ctx.monomorphs <- [];
 	let r = f() in
 	let r = f() in
-	List.iter (fun m -> ignore(Monomorph.close m)) ctx.monomorphs;
-	ctx.monomorphs <- old_monos @ ctx.monomorphs;
+	(* List.iter (fun m -> ignore(Monomorph.close m)) ctx.monomorphs; *)
+	ctx.monomorphs <- old_monos;
 	r
 	r
 
 
 (* -------------- debug functions to activate when debugging typer passes ------------------------------- *)
 (* -------------- debug functions to activate when debugging typer passes ------------------------------- *)