diff options
| author | Matthieu Sozeau | 2014-09-19 21:10:57 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2014-09-19 21:15:22 +0200 |
| commit | e8726550e01e51ef3ccf8602f2ecbe2b3737cca3 (patch) | |
| tree | 86b5f6eec7633fb17c01206e9cc7e2f16ec2060b /pretyping/patternops.ml | |
| parent | 9c2bbdd58b6935ea980e72289777a20b85fe4fdb (diff) | |
Move the specific map_constr_with_binders_left_to_right
for e_contextually where it is used. Bug #3648 is fixed.
Diffstat (limited to 'pretyping/patternops.ml')
| -rw-r--r-- | pretyping/patternops.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pretyping/patternops.ml b/pretyping/patternops.ml index 44ff2b5b8c..01317ba253 100644 --- a/pretyping/patternops.ml +++ b/pretyping/patternops.ml @@ -150,8 +150,7 @@ let pattern_of_constr sigma t = | Const (sp,u) -> PRef (ConstRef (constant_of_kn(canonical_con sp))) | Ind (sp,u) -> PRef (canonical_gr (IndRef sp)) | Construct (sp,u) -> PRef (canonical_gr (ConstructRef sp)) - | Proj (p, c) -> - PProj (constant_of_kn(canonical_con p), pattern_of_constr c) + | Proj (p, c) -> PProj (constant_of_kn(canonical_con p), pattern_of_constr c) | Evar (evk,ctxt as ev) -> (match snd (Evd.evar_source evk sigma) with | Evar_kinds.MatchingVar (b,id) -> |
