]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic/unshare.ml
Bug fixed: references to CoFix are CoFix, not Fix.
[helm.git] / helm / software / components / cic / unshare.ml
index e198bcd49df1c79fa3235da0c75bcb2f18e6bcb8..e4d2cc74a43951cc64ad8c99677100e39b1d5d75 100644 (file)
@@ -48,7 +48,8 @@ let rec unshare =
    | 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)
-   | C.LetIn (n,s,t) -> C.LetIn (n, unshare s, unshare t)
+   | C.LetIn (n,s,ty,t) ->
+      C.LetIn (n, unshare s, unshare ty, unshare t)
    | C.Appl l -> C.Appl (List.map unshare l)
    | C.Const (uri,exp_named_subst) ->
       let exp_named_subst' =