Browse Source

tmp fix for infinite recursion in to_string marking

Nicolas Cannasse 11 years ago
parent
commit
434dc1ac36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dce.ml

+ 1 - 1
dce.ml

@@ -208,7 +208,7 @@ let opt f e = match e with None -> () | Some e -> f e
 let rec to_string dce t =
 	let push t =
 		dce.ts_stack <- t :: dce.ts_stack;
-		fun () -> dce.ts_stack <- List.tl dce.ts_stack
+		fun () -> ()
 	in
 	let t = follow t in
 	if not (List.exists (fun t2 -> Type.fast_eq t t2) dce.ts_stack) then match follow t with