From 7bd401c4e5cf82938487cff368de93f50a9c50d7 Mon Sep 17 00:00:00 2001
From: Claudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Date: Fri, 2 Sep 2005 12:40:21 +0000
Subject: [PATCH] Bug fixed: sorts and implicits were not unshared correctly.

---
 helm/ocaml/cic/unshare.ml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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)
-- 
2.39.5