From 6c28c8f38c6f47cc772d42e5cc54398785d63bc0 Mon Sep 17 00:00:00 2001 From: filliatr Date: Tue, 23 Nov 1999 17:39:25 +0000 Subject: modules Indrec, Tacentries, Hiddentac git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@131 85f007b7-540e-0410-9357-904b9bb8a0f7 --- kernel/reduction.ml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kernel/reduction.ml') 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)) -- cgit v1.2.3