]> matita.cs.unibo.it Git - helm.git/commitdiff
Constructors are closed with thier types when computing the signatur
authorAndrea Asperti <andrea.asperti@unibo.it>
Fri, 8 May 2009 14:50:27 +0000 (14:50 +0000)
committerAndrea Asperti <andrea.asperti@unibo.it>
Fri, 8 May 2009 14:50:27 +0000 (14:50 +0000)
helm/software/components/tactics/metadataQuery.ml

index f12cd9a19785e288d2a209b7eb713e47cad97ace..6db568cb4ab9ad60516bc30f1a0d366e4e6a7b1f 100644 (file)
@@ -274,7 +274,9 @@ let signature_of metasenv goal =
   let ty_set = Constr.constants_of ty in
   let hyp_set = signature_of_hypothesis context metasenv in
   let set = Constr.UriManagerSet.union ty_set hyp_set in
-    close_with_constructors (close_with_types set metasenv context)
+    close_with_types
+     (close_with_constructors (close_with_types set metasenv context)
+       metasenv context)
     metasenv context