aboutsummaryrefslogtreecommitdiff
path: root/interp
diff options
context:
space:
mode:
authorherbelin2003-11-16 23:00:43 +0000
committerherbelin2003-11-16 23:00:43 +0000
commit4563a713129b0b658128e075b2886668ec5a2827 (patch)
treedb436a33e82722b9112adcd9fd1cab3960c1a0ec /interp
parent45870d709209aecf94bb5f6915672ce8043e2f48 (diff)
Bug filtrage pour inversion notation
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4924 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp')
-rw-r--r--interp/topconstr.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/interp/topconstr.ml b/interp/topconstr.ml
index 21b7c6be0e..1ad9fd54c4 100644
--- a/interp/topconstr.ml
+++ b/interp/topconstr.ml
@@ -266,7 +266,8 @@ let rec match_ alp metas sigma a1 a2 = match (a1,a2) with
match_binders alp metas (match_ alp metas sigma t1 t2) b1 b2 na1 na2
| RLetIn (_,na1,t1,b1), AProd (na2,t2,b2) ->
match_binders alp metas (match_ alp metas sigma t1 t2) b1 b2 na1 na2
- | RCases (_,(po1,rtno1),tml1,eqnl1), ACases (po2,rtno2,tml2,eqnl2) ->
+ | RCases (_,(po1,rtno1),tml1,eqnl1), ACases (po2,rtno2,tml2,eqnl2)
+ when List.length tml1 = List.length tml2 ->
let sigma = option_fold_left2 (match_ alp metas) sigma po1 po2 in
(* TODO: match rtno' with their contexts *)
let sigma = List.fold_left2