From e8726550e01e51ef3ccf8602f2ecbe2b3737cca3 Mon Sep 17 00:00:00 2001 From: Matthieu Sozeau Date: Fri, 19 Sep 2014 21:10:57 +0200 Subject: Move the specific map_constr_with_binders_left_to_right for e_contextually where it is used. Bug #3648 is fixed. --- pretyping/patternops.ml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pretyping/patternops.ml') 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) -> -- cgit v1.2.3