diff options
author | pboutill <pboutill@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-03-02 22:30:44 +0000 |
---|---|---|
committer | pboutill <pboutill@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-03-02 22:30:44 +0000 |
commit | 0374e96684f9d3d38b1d54176a95281d47b21784 (patch) | |
tree | f5598cd239e37c115a57a9dfd4be6630f94525e1 /pretyping/glob_term.ml | |
parent | c2dda7cf57f29e5746e5903c310a7ce88525909c (diff) |
Glob_term.predicate_pattern: No number of parameters with letins.
Detyping is wrong about it and as far as I understand no one but Constrextern uses
it. Constrextern has now the same machinery for all patterns.
Revert if I miss something.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15022 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/glob_term.ml')
-rw-r--r-- | pretyping/glob_term.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pretyping/glob_term.ml b/pretyping/glob_term.ml index 5922d38dc..616a85444 100644 --- a/pretyping/glob_term.ml +++ b/pretyping/glob_term.ml @@ -79,7 +79,7 @@ and fix_kind = | GCoFix of int and predicate_pattern = - name * (loc * inductive * int * name list) option + name * (loc * inductive * name list) option and tomatch_tuple = (glob_constr * predicate_pattern) @@ -92,7 +92,7 @@ and cases_clauses = cases_clause list let cases_predicate_names tml = List.flatten (List.map (function | (tm,(na,None)) -> [na] - | (tm,(na,Some (_,_,_,nal))) -> na::nal) tml) + | (tm,(na,Some (_,_,nal))) -> na::nal) tml) let mkGApp loc p t = match p with |