]> matita.cs.unibo.it Git - helm.git/commitdiff
Fix : wrong exception was catch in apply_subst
authordenes <??>
Fri, 5 Jun 2009 12:25:06 +0000 (12:25 +0000)
committerdenes <??>
Fri, 5 Jun 2009 12:25:06 +0000 (12:25 +0000)
helm/software/components/ng_kernel/nCicUntrusted.ml

index baae7f9c2f7486e1561b3ad6a47eddaeb7522c5b..633ecea576540e80ed8786eef5916c6bcd783c88 100644 (file)
@@ -177,7 +177,7 @@ let apply_subst subst context t =
        let t = NCicSubstitution.subst_meta lc t in
         apply_subst subst () t
       with
-       Not_found ->
+       NCicUtils.Subst_not_found j when j = i ->
         match lc with
            _,NCic.Irl _ -> NCic.Meta (i,lc)
          | n,NCic.Ctx l ->