diff options
| author | barras | 2002-02-05 15:15:02 +0000 |
|---|---|---|
| committer | barras | 2002-02-05 15:15:02 +0000 |
| commit | f73f293e99542949c46c5292a2af06a90b563f8e (patch) | |
| tree | 6eda2869d4590a4882f8623e5cb340a683d9d713 /kernel/inductive.ml | |
| parent | a0c516a70873ee3d4f6ef0bd7afdbd94b3c763c6 (diff) | |
evaluable_constant retournait vrai pour les constantes opaques, ce qui faisait
boucler la condition de garde
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2454 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/inductive.ml')
| -rw-r--r-- | kernel/inductive.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/inductive.ml b/kernel/inductive.ml index 26f4d51c6d..b4a74061f0 100644 --- a/kernel/inductive.ml +++ b/kernel/inductive.ml @@ -642,7 +642,8 @@ let check_one_fix renv recpos def = (try List.for_all (check_rec_call renv) l with (FixGuardError _ ) as e -> if evaluable_constant renv.env sp then - check_rec_call renv (whd_betadeltaiota renv.env t) + check_rec_call renv + (applist(constant_value renv.env sp, l)) else raise e) (* The cases below simply check recursively the condition on the |
