aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorherbelin2000-06-02 12:37:42 +0000
committerherbelin2000-06-02 12:37:42 +0000
commit7da634ee3f64624a519a18543c18ea685e867075 (patch)
tree765d3ff0cb070acadf22585f812d6dcc387f4649 /kernel
parent8fe189045ece6f26cd3aa5399ed405e71b1de781 (diff)
Bug DLAM dans strong
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@490 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel')
-rw-r--r--kernel/reduction.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/reduction.ml b/kernel/reduction.ml
index 88e42fc864..2d699b7855 100644
--- a/kernel/reduction.ml
+++ b/kernel/reduction.ml
@@ -53,6 +53,9 @@ let strong whdfun env sigma =
| DOP0 _ as t -> t
(* Cas ad hoc *)
| DOP1(oper,c) -> DOP1(oper,strongrec c)
+ (* Faut differencier sinon fait planter kind_of_term *)
+ | DOP2(Prod|Lambda as oper,c1,DLAM(na,c2)) ->
+ DOP2(oper,strongrec c1,DLAM(na,strongrec c2))
| DOP2(oper,c1,c2) -> DOP2(oper,strongrec c1,strongrec c2)
| DOPN(oper,cl) -> DOPN(oper,Array.map strongrec cl)
| DOPL(oper,cl) -> DOPL(oper,List.map strongrec cl)