X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_generator%2FcGSearchPattern.ml;h=33a9894d1696a824c9b5903916aae5a284ce99d6;hb=ebc089606ccbb3e9dbde142542a1f98f5020b4dd;hp=a56d65959448421f872acc554e00edb194359ab8;hpb=296b163c8a2b09a6f87cbab15c2016de92fc8e70;p=helm.git diff --git a/helm/ocaml/mathql_generator/cGSearchPattern.ml b/helm/ocaml/mathql_generator/cGSearchPattern.ml index a56d65959..33a9894d1 100644 --- a/helm/ocaml/mathql_generator/cGSearchPattern.ml +++ b/helm/ocaml/mathql_generator/cGSearchPattern.ml @@ -80,7 +80,8 @@ let get_constraints term = let rec process_type_aux kind = function C.Var (uri,expl_named_subst) -> - ([!!!kind, UriManager.string_of_uri uri],[],[]) @@ + (* andrea: this is a bug: variable are not indexedin the db + ([!!!kind, UriManager.string_of_uri uri],[],[]) @@ *) (process_type_aux_expl_named_subst kind expl_named_subst) | C.Rel _ -> (match kind with @@ -95,13 +96,13 @@ let get_constraints term = match s with Cic.Prop -> T.Prop | Cic.Set -> T.Set - | Cic.Type -> T.Type + | Cic.Type _ -> T.Type (* TASSI: ?? *) | Cic.CProp -> T.CProp in [],[],[!!kind,s'] | _ -> [],[],[]) - | C.Meta _ - | C.Implicit -> assert false + | C.Meta _ -> [],[],[] (* ???? To be understood *) + | C.Implicit _ -> assert false | C.Cast (te,_) -> (* type ignored *) process_type_aux kind te