aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMatthieu Sozeau2015-03-03 15:47:24 +0100
committerMatthieu Sozeau2015-03-03 15:49:42 +0100
commit51b4d0cdad77f2874bd481dabd32e0772563dc3f (patch)
treeec813c0fc816ca1446ef70e68151cdb889646f58 /kernel
parentac62cda8a4f488b94033b108c37556877232137a (diff)
Fix bug #4103: forgot to allow unfolding projections of cofixpoints like
cases, in some cases.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/closure.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/closure.ml b/kernel/closure.ml
index 6824c399e6..ea9b2755f2 100644
--- a/kernel/closure.ml
+++ b/kernel/closure.ml
@@ -924,7 +924,7 @@ let rec knr info m stk =
| (_,args,s) -> (m,args@s))
| FCoFix _ when red_set info.i_flags fIOTA ->
(match strip_update_shift_app m stk with
- (_, args, (((Zcase _|ZcaseT _)::_) as stk')) ->
+ (_, args, (((Zcase _|ZcaseT _|Zproj _)::_) as stk')) ->
let (fxe,fxbd) = contract_fix_vect m.term in
knit info fxe fxbd (args@stk')
| (_,args,s) -> (m,args@s))