aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/indtypes.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/indtypes.ml')
-rw-r--r--kernel/indtypes.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/indtypes.ml b/kernel/indtypes.ml
index f70690af6..cd9e2e81f 100644
--- a/kernel/indtypes.ml
+++ b/kernel/indtypes.ml
@@ -598,7 +598,6 @@ let build_inductive env env_ar params isrecord isfinite inds nmr recargs cst =
poly_level = lev;
}, all_sorts
| Inl ((issmall,isunit),ar,s) ->
- let isunit = isunit && ntypes = 1 && not (is_recursive recargs.(0)) in
let kelim = allowed_sorts issmall isunit s in
Monomorphic {
mind_user_arity = ar;