aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/typeops.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/typeops.ml b/kernel/typeops.ml
index 81bf399279..63d4ed069b 100644
--- a/kernel/typeops.ml
+++ b/kernel/typeops.ml
@@ -378,7 +378,7 @@ let judge_of_case env sigma ci pj cj lfj =
type_case_branches env sigma indspec pj cj.uj_val in
let kind = mysort_of_arity env sigma (body_of_type pj.uj_type) in
let univ' = check_branches_message env sigma cj (bty,lft) in
- ({ uj_val = mkMutCase (ci, pj.uj_val, cj.uj_val, Array.map j_val lfj);
+ ({ uj_val = mkMutCase (ci, (nf_betaiota pj.uj_val), cj.uj_val, Array.map j_val lfj);
uj_type = rslty },
Constraint.union univ univ')