aboutsummaryrefslogtreecommitdiff
path: root/kernel/reduction.ml
diff options
context:
space:
mode:
authorfilliatr1999-11-23 17:39:25 +0000
committerfilliatr1999-11-23 17:39:25 +0000
commit6c28c8f38c6f47cc772d42e5cc54398785d63bc0 (patch)
treed162202001373eb29b57646aa8275fc9f44ad8ba /kernel/reduction.ml
parentcf59b39d44a7a765d51b0a426ad6d71678740195 (diff)
modules Indrec, Tacentries, Hiddentac
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@131 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/reduction.ml')
-rw-r--r--kernel/reduction.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/reduction.ml b/kernel/reduction.ml
index 1a1ea5bbb4..0d4557efc6 100644
--- a/kernel/reduction.ml
+++ b/kernel/reduction.ml
@@ -310,9 +310,8 @@ let fold_commands cl env sigma c =
let abstract_scheme env (locc,a,ta) t =
let na = named_hd env ta Anonymous in
- if occur_meta ta then
- error "cannot find a type for the generalisation"
- else if occur_meta a then
+ if occur_meta ta then error "cannot find a type for the generalisation";
+ if occur_meta a then
DOP2(Lambda,ta,DLAM(na,t))
else
DOP2(Lambda, ta, DLAM(na,subst_term_occ locc a t))