aboutsummaryrefslogtreecommitdiff
path: root/pretyping
diff options
context:
space:
mode:
authormsozeau2008-07-22 14:35:51 +0000
committermsozeau2008-07-22 14:35:51 +0000
commitd619a834de7548649f53d59ec4fc9e892b33d24c (patch)
tree10bb2d3e30caeccfada2e2d812a56cf416e8d89a /pretyping
parent2debc4ab0b171963afff40cc3183e4e92cca9a0e (diff)
A try at allowing matching on applications as a binary syntax node by default.
It breaks tauto as [?X _ _] matches much more terms. It is mostly fixed by not destructing objects of record types. The new [intuition] was also pulling an unneeded dependency in Field_theory which can be cleared easily. Zis_gcd_bezout is also considered a conjunction now, which seems correct(?). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11243 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/matching.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/matching.ml b/pretyping/matching.ml
index 9a3130605e..09db049e46 100644
--- a/pretyping/matching.ml
+++ b/pretyping/matching.ml
@@ -208,7 +208,7 @@ let matches_core convert allow_partial_app pat c =
let names,terms = sorec [] ([],[]) pat c in
(names,Sort.list (fun (a,_) (b,_) -> a<b) terms)
-let extended_matches = matches_core None false
+let extended_matches = matches_core None true
let matches c p = snd (matches_core None false c p)