]> matita.cs.unibo.it Git - helm.git/commitdiff
Stupid bug fixed in the refinement of let ... in
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 29 Jun 2005 08:46:40 +0000 (08:46 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 29 Jun 2005 08:46:40 +0000 (08:46 +0000)
helm/ocaml/cic_unification/cicRefine.ml

index f30e3c53c0314819a825f62310b3fd28cbc0ae2c..5c031f4733b6806f2da7c1b9ef683d8d589112ec 100644 (file)
@@ -287,7 +287,7 @@ and type_of_aux' metasenv context t ugraph =
               * Moreover the inferred type is closer to the expected one. 
                *)
              C.LetIn (n,s',t'),CicSubstitution.subst s' inferredty,
-                subst',metasenv',ugraph2
+                subst'',metasenv'',ugraph2
        | C.Appl (he::((_::_) as tl)) ->
            let he',hetype,subst',metasenv',ugraph1 = 
              type_of_aux subst metasenv context he ugraph