aboutsummaryrefslogtreecommitdiff
path: root/kernel/inductive.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2015-10-12 18:54:31 +0200
committerPierre-Marie Pédrot2015-10-12 18:54:31 +0200
commit10e5883fed21f9631e1aa65adb7a7e62a529987f (patch)
treef04cfc472e6345585eb5f606e2957fcf0f2740ea /kernel/inductive.ml
parent75c5e421e91d49eec9cd55c222595d2ef45325d6 (diff)
parent26974a4a2301cc7b1188a3f2f29f3d3368eccc0b (diff)
Merge branch 'v8.5'
Diffstat (limited to 'kernel/inductive.ml')
-rw-r--r--kernel/inductive.ml5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/inductive.ml b/kernel/inductive.ml
index a02d5e2055..1f8706652f 100644
--- a/kernel/inductive.ml
+++ b/kernel/inductive.ml
@@ -165,10 +165,7 @@ let rec make_subst env =
(* to be greater than the level of the argument; this is probably *)
(* a useless extra constraint *)
let s = sort_as_univ (snd (dest_arity env (Lazy.force a))) in
- if Univ.Universe.is_levels s then
- make (cons_subst u s subst) (sign, exp, args)
- else (* Cannot handle substitution by i+n universes. *)
- make subst (sign, exp, args)
+ make (cons_subst u s subst) (sign, exp, args)
| (na,None,t)::sign, Some u::exp, [] ->
(* No more argument here: we add the remaining universes to the *)
(* substitution (when [u] is distinct from all other universes in the *)