]> matita.cs.unibo.it Git - helm.git/commitdiff
Bug fixed: sorts and implicits were not unshared correctly.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 2 Sep 2005 12:40:21 +0000 (12:40 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 2 Sep 2005 12:40:21 +0000 (12:40 +0000)
helm/ocaml/cic/unshare.ml

index 10f4f3df4b987dac17fe266dd2d3c824a2f8707c..9300c9e3a95eb6ed453a839129e21a51bdb246d2 100644 (file)
@@ -41,8 +41,8 @@ let rec unshare =
         ) l
       in
        C.Meta(i,l')
-   | C.Sort _ as t -> t
-   | C.Implicit _ as t -> t
+   | C.Sort s -> C.Sort s
+   | C.Implicit info -> C.Implicit info
    | C.Cast (te,ty) -> C.Cast (unshare te, unshare ty)
    | C.Prod (n,s,t) -> C.Prod (n, unshare s, unshare t)
    | C.Lambda (n,s,t) -> C.Lambda (n, unshare s, unshare t)