]> matita.cs.unibo.it Git - helm.git/commitdiff
Corrected bug about the generation of constraitns: variables
authorAndrea Asperti <andrea.asperti@unibo.it>
Mon, 6 Sep 2004 10:07:49 +0000 (10:07 +0000)
committerAndrea Asperti <andrea.asperti@unibo.it>
Mon, 6 Sep 2004 10:07:49 +0000 (10:07 +0000)
must not be indexed.

helm/ocaml/mathql_generator/cGSearchPattern.ml

index b0d290578f87f34eb20758e6298ab83020e07719..33a9894d1696a824c9b5903916aae5a284ce99d6 100644 (file)
@@ -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