]> matita.cs.unibo.it Git - helm.git/commitdiff
Wrong context (again!)
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 2 Oct 2009 09:21:39 +0000 (09:21 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 2 Oct 2009 09:21:39 +0000 (09:21 +0000)
helm/software/components/ng_refiner/nCicRefiner.ml

index f46487aabda862068115d907c62809c7701f4db0..e2aabb31cddd76a68c301841dad7746827516adf 100644 (file)
@@ -242,7 +242,8 @@ let rec typeof rdb
          | Some x -> 
              let m, s, x = 
                NCicUnification.delift_type_wrt_terms 
-               rdb metasenv subst context x [t]
+                rdb metasenv subst context1 (NCicSubstitution.lift 1 x)
+                [NCicSubstitution.lift 1 t]
              in
                m, s, Some x
        in