File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -530,12 +530,14 @@ let is_global_level env u =
530530 let () = UGraph. check_declared_universes (Environ. universes env) set in
531531 true
532532 with UGraph. UndeclaredLevel _ -> false
533+ let global_push_context_set x = Global. push_context_set ~strict: true x
533534[%% else ]
534535let is_global_level env u =
535536 let set = Univ.Level.Set. singleton u in
536537 match UGraph. check_declared_universes (Environ. universes env) set with
537538 | Ok () -> true
538539 | Error _ -> false
540+ let global_push_context_set x = Global. push_context_set x
539541[%% endif]
540542
541543let err_if_contains_alg_univ ~depth t =
@@ -2103,7 +2105,7 @@ Supported attributes:
21032105 | Polymorphic_ind_entry uctx ->
21042106 (Polymorphic_entry uctx , UState. Polymorphic_entry uctx , univ_binders )
21052107 in
2106- let () = Global. push_context_set uctx in
2108+ let () = global_push_context_set uctx in
21072109 let mind =
21082110 declare_mutual_inductive_with_eliminations ~primitive_expected ~default_dep_elim me (uentry' , ubinders ) ind_impls in
21092111 let ind = mind , 0 in
You can’t perform that action at this time.
0 commit comments