aboutsummaryrefslogtreecommitdiff
path: root/vernac/comInductive.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-11-13 16:02:03 +0100
committerGaëtan Gilbert2018-11-26 13:21:56 +0100
commitec209ea02cb8fa86f09aff88d0464c865ed7b8a5 (patch)
treed9e28d57d4127fe08acaff4f730b2ec5cbc4cb17 /vernac/comInductive.ml
parentb400fa987dec3c2dabfd69ce305d3ab8f1dc8952 (diff)
Put -indices-matter in typing_flags
Diffstat (limited to 'vernac/comInductive.ml')
-rw-r--r--vernac/comInductive.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/comInductive.ml b/vernac/comInductive.ml
index fbfa997555..8507ee6e2c 100644
--- a/vernac/comInductive.ml
+++ b/vernac/comInductive.ml
@@ -266,7 +266,7 @@ let inductive_levels env evd poly arities inds =
in
let minlev =
(** Indices contribute. *)
- if Indtypes.is_indices_matter () && List.length ctx > 0 then (
+ if indices_matter env && List.length ctx > 0 then (
let ilev = sign_level env evd ctx in
Univ.sup ilev minlev)
else minlev