aboutsummaryrefslogtreecommitdiff
path: root/kernel/indtypes.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/indtypes.ml')
-rw-r--r--kernel/indtypes.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/indtypes.ml b/kernel/indtypes.ml
index 662692ecaa..c28055ae6b 100644
--- a/kernel/indtypes.ml
+++ b/kernel/indtypes.ml
@@ -101,12 +101,12 @@ let mind_check_wellformed env mie =
let allowed_sorts issmall isunit = function
| Type _ ->
- [ElimOnProp;ElimOnSet;ElimOnType]
+ [InProp;InSet;InType]
| Prop Pos ->
- if issmall then [ElimOnProp;ElimOnSet;ElimOnType]
- else [ElimOnProp;ElimOnSet]
+ if issmall then [InProp;InSet;InType]
+ else [InProp;InSet]
| Prop Null ->
- if isunit then [ElimOnProp;ElimOnSet] else [ElimOnProp]
+ if isunit then [InProp;InSet] else [InProp]
type ill_formed_ind =
| LocalNonPos of int