aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel
diff options
context:
space:
mode:
authorGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-12-02 10:38:29 +0000
committerGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-12-02 10:38:29 +0000
commitff45afa83a9235cbe33af525b6b0c7985dc7e091 (patch)
tree4daa5623d3efc4641c536c1a47a385d3be49cdb1 /kernel
parentf34f1330b6cce198fdf6f99a31ae46e1a7fa8abb (diff)
fixed kernel bug (de Bruijn) + test-suite
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11646 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel')
-rw-r--r--kernel/inductive.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/inductive.ml b/kernel/inductive.ml
index 918a32c95..8024ae266 100644
--- a/kernel/inductive.ml
+++ b/kernel/inductive.ml
@@ -683,7 +683,8 @@ let check_one_fix renv recpos def =
List.iter (check_rec_call renv) l
| Some c ->
try List.iter (check_rec_call renv) l
- with FixGuardError _ -> check_rec_call renv (applist(c,l))
+ with FixGuardError _ ->
+ check_rec_call renv (applist(lift p c,l))
end
| Case (ci,p,c_0,lrest) ->