X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Flambda-delta%2Fbasic_ag%2FbagUntrusted.ml;h=600807c670a48624bfa0659b7643ba5096455450;hb=939f76e2fd4a50fd49c010a64e49b5625569d712;hp=e80a06125cf286f037394b1a5cb7d1385256c605;hpb=338e3e5c639fbcfeeb347a0121cacc6c0f1fc42a;p=helm.git diff --git a/helm/software/lambda-delta/basic_ag/bagUntrusted.ml b/helm/software/lambda-delta/basic_ag/bagUntrusted.ml index e80a06125..600807c67 100644 --- a/helm/software/lambda-delta/basic_ag/bagUntrusted.ml +++ b/helm/software/lambda-delta/basic_ag/bagUntrusted.ml @@ -9,6 +9,7 @@ \ / This software is distributed as is, NO WARRANTY. V_______________________________________________________________ *) +module L = Log module B = Bag module E = BagEnvironment module T = BagType @@ -21,11 +22,11 @@ let type_check f g = function | Some (a, uri, B.Abst t) -> let f tt obj = f (Some tt) (Some obj) in let f xt tt = E.set_obj (f tt) (a, uri, B.Abst xt) in - T.type_of f g B.empty_context t + L.loc := a; T.type_of f g B.empty_context t | Some (a, uri, B.Abbr t) -> let f tt obj = f (Some tt) (Some obj) in let f xt tt = E.set_obj (f tt) (a, uri, B.Abbr xt) in - T.type_of f g B.empty_context t + L.loc := a; T.type_of f g B.empty_context t | Some (a, uri, B.Void) -> let f obj = f None (Some obj) in - E.set_obj f (a, uri, B.Void) + L.loc := a; E.set_obj f (a, uri, B.Void)