From: Claudio Sacerdoti Coen Date: Thu, 31 May 2018 23:05:17 +0000 (+0200) Subject: Fix lifting bug in unwind X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=88cd6d9b202287ce43ffab571a6a63d7c8dc6de1;p=fireball-separation.git Fix lifting bug in unwind problems/simple.* now pass --- diff --git a/ocaml/pure.ml b/ocaml/pure.ml index e04b4ea..be08bb4 100644 --- a/ocaml/pure.ml +++ b/ocaml/pure.ml @@ -75,7 +75,7 @@ let unwind ?(tbl = Hashtbl.create 317) m = | V n -> (try lift l (cache_unwind (List.nth e (n - l))) - with Failure _ -> V (n - l)) + with Failure _ -> V n) | L t -> L (aux (l+1) t) | B -> B in let t = aux 0 t in