From: Claudio Sacerdoti Coen Date: Fri, 2 Sep 2005 12:40:21 +0000 (+0000) Subject: Bug fixed: sorts and implicits were not unshared correctly. X-Git-Tag: V_0_1_2_1~118 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=7bd401c4e5cf82938487cff368de93f50a9c50d7;p=helm.git Bug fixed: sorts and implicits were not unshared correctly. --- diff --git a/helm/ocaml/cic/unshare.ml b/helm/ocaml/cic/unshare.ml index 10f4f3df4..9300c9e3a 100644 --- a/helm/ocaml/cic/unshare.ml +++ b/helm/ocaml/cic/unshare.ml @@ -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)