]> matita.cs.unibo.it Git - helm.git/commitdiff
Trivial bug fixed in the merging of polymorphic coercions.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sat, 18 Feb 2006 18:20:02 +0000 (18:20 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sat, 18 Feb 2006 18:20:02 +0000 (18:20 +0000)
helm/software/components/library/cicCoercion.ml

index 40def823834c65c256f4b6b0752d465aecaba343..7e36ac1aa5000d5c7ff2bb7dbc7627aa3d496e70 100644 (file)
@@ -109,7 +109,7 @@ let generate_composite_closure rt c1 c2 univ =
     let rec aux = function
         | Cic.Lambda (_, Cic.Meta (i,_), t) when  
           List.exists (fun (j,_,_) -> j = i) metasenv ->
-            CicSubstitution.subst (Cic.Rel ~-100) t
+            aux (CicSubstitution.subst (Cic.Rel ~-100) t)
         | Cic.Lambda (name, s, t) -> 
             Cic.Lambda (name, s, aux t)
         | t -> t