]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic/unshare.ml
ocaml 3.09 transition
[helm.git] / 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)