]> matita.cs.unibo.it Git - helm.git/commitdiff
Bug fixed (that used to throw away a metasenv :-(
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 15 Jun 2005 14:41:07 +0000 (14:41 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 15 Jun 2005 14:41:07 +0000 (14:41 +0000)
helm/ocaml/cic_unification/cicRefine.ml

index 47d186dcb27425dfb7cf4aab0b2b5362fd8105fd..f30e3c53c0314819a825f62310b3fd28cbc0ae2c 100644 (file)
@@ -1045,7 +1045,7 @@ let typecheck metasenv uri obj =
                    let t = CicSubstitution.subst t' t in
                     i - 1,t
                  ) tys (typesno - 1,t)) in
-             let ty' = undebrujin ty in
+             let ty' = undebrujin ty' in
               metasenv,ugraph,(name,ty')::res
            ) cl (metasenv,ugraph,[])
          in