Skip to content

Commit d7f5d52

Browse files
authored
Merge pull request #1150 from SkySkimmer/clean-univ
Adapt to rocq-prover/rocq#20360 (pr_universe_context_set renamed)
2 parents 18e2e49 + b1e2010 commit d7f5d52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

template-coq/src/quoter.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ struct
231231
eqs (levels, cstrs)
232232
in
233233
let levels = Univ.Level.Set.add Univ.Level.set levels in
234-
debug Pp.(fun () -> str"Universe context: " ++ Univ.pr_universe_context_set Univ.Level.raw_pr (levels, cstrs));
234+
debug Pp.(fun () -> str"Universe context: " ++ Univ.ContextSet.pr Univ.Level.raw_pr (levels, cstrs));
235235
time (Pp.str"Quoting universe context")
236236
(fun uctx -> Q.quote_univ_contextset uctx) (levels, cstrs)
237237

template-coq/src/run_template_monad.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ let declare_inductive (env: Environ.env) (evm: Evd.evar_map) (infer_univs : bool
312312
let evm, mind =
313313
if infer_univs then
314314
let ctx, mind = Tm_util.RetypeMindEntry.infer_mentry_univs env evm' mind in
315-
debug (fun () -> Pp.(str "Declaring universe context " ++ Univ.pr_universe_context_set UnivNames.pr_level_with_global_universes ctx));
315+
debug (fun () -> Pp.(str "Declaring universe context " ++ Univ.ContextSet.pr UnivNames.pr_level_with_global_universes ctx));
316316
Global.push_context_set ctx;
317317
Evd.merge_context_set Evd.UnivRigid evm ctx, mind
318318
else evm, mind

0 commit comments

Comments
 (0)