X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fbasic_ag%2FbagType.ml;h=dbf1bd4ebdc11cea0d652d5ab6fff5e9384f0ec0;hb=e97c74e4d17e6fc0ce7c39b092f3214244ae21d1;hp=1bc6fb2259869276fcbc6003b90dc774e6adb64f;hpb=cd798346d31b14b8947e5801b87dc4f363607862;p=helm.git diff --git a/helm/software/lambda-delta/basic_ag/bagType.ml b/helm/software/lambda-delta/basic_ag/bagType.ml index 1bc6fb225..dbf1bd4eb 100644 --- a/helm/software/lambda-delta/basic_ag/bagType.ml +++ b/helm/software/lambda-delta/basic_ag/bagType.ml @@ -51,7 +51,7 @@ let rec b_type_of f ~si g c x = log1 "Now checking" c x; match x with | B.Sort h -> - let f h = f x (B.Sort h) in H.apply f g h + let h = H.apply g h in f x (B.Sort h) | B.LRef i -> let f = function | Some (_, B.Abst w) -> f x w @@ -68,6 +68,7 @@ let rec b_type_of f ~si g c x = | _, _, Y.Abst w -> f x w | _, _, Y.Abbr (B.Cast (w, v)) -> f x w | _, _, Y.Abbr _ -> assert false + | _, _, Y.Void -> assert false in E.get_entity f uri | B.Bind (l, id, B.Abbr v, t) ->