X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fbasic_ag%2FbagType.ml;h=1bc6fb2259869276fcbc6003b90dc774e6adb64f;hb=6044e9411b4f174f382e9594fadacb40bb23c175;hp=da808cd4564d13979aca575db67f686400651659;hpb=79684e8bd0f54b5c88fff981366bd8c78dd0fbe9;p=helm.git diff --git a/helm/software/lambda-delta/basic_ag/bagType.ml b/helm/software/lambda-delta/basic_ag/bagType.ml index da808cd45..1bc6fb225 100644 --- a/helm/software/lambda-delta/basic_ag/bagType.ml +++ b/helm/software/lambda-delta/basic_ag/bagType.ml @@ -13,6 +13,7 @@ module U = NUri module C = Cps module S = Share module L = Log +module Y = Entity module H = Hierarchy module B = Bag module O = BagOutput @@ -64,13 +65,11 @@ let rec b_type_of f ~si g c x = B.get f c i | B.GRef uri -> let f = function - | _, _, B.Abst w -> f x w - | _, _, B.Abbr (B.Cast (w, v)) -> f x w - | _, _, B.Abbr _ -> assert false - | _, _, B.Void -> - error1 "reference to excluded entry" c x + | _, _, Y.Abst w -> f x w + | _, _, Y.Abbr (B.Cast (w, v)) -> f x w + | _, _, Y.Abbr _ -> assert false in - E.get_entry f uri + E.get_entity f uri | B.Bind (l, id, B.Abbr v, t) -> let f xv xt tt = f (S.sh2 v xv t xt x (B.bind_abbr l id)) (B.bind_abbr l id xv tt)