Skip to content

Commit dfaef02

Browse files
committed
Adapt to rocq-prover/rocq#20178 (cominductive API change)
1 parent 7ee951d commit dfaef02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/coq_elpi_HOAS.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ type record_field_spec = { name : Name.t; is_coercion : coercion_status; is_cano
112112

113113
val lp2inductive_entry :
114114
depth:int -> empty coq_context -> constraints -> State.t -> term ->
115-
State.t * (DeclareInd.default_dep_elim list * Entries.mutual_inductive_entry * Univ.ContextSet.t * UnivNames.universe_binders * (bool * record_field_spec list) option * DeclareInd.one_inductive_impls list) * Conversion.extra_goals
115+
State.t * (DeclareInd.default_dep_elim list * Entries.mutual_inductive_entry * Univ.ContextSet.t * UState.named_universes_entry * (bool * record_field_spec list) option * DeclareInd.one_inductive_impls list) * Conversion.extra_goals
116116

117117
val inductive_decl2lp :
118118
depth:int -> empty coq_context -> constraints -> State.t -> (Names.MutInd.t * UVars.Instance.t * (Declarations.mutual_inductive_body * Declarations.one_inductive_body) * (Glob_term.binding_kind list * Glob_term.binding_kind list list)) ->

src/coq_elpi_builtins.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2101,7 +2101,7 @@ Supported attributes:
21012101
in
21022102
let () = global_push_context_set uctx in
21032103
let mind =
2104-
declare_mutual_inductive_with_eliminations ~primitive_expected ~default_dep_elim me (uentry', ubinders) ind_impls in
2104+
declare_mutual_inductive_with_eliminations ~primitive_expected ~default_dep_elim me univ_binders ind_impls in
21052105
let ind = mind, 0 in
21062106
let id, cids = match me.Entries.mind_entry_inds with
21072107
| [ { Entries.mind_entry_typename = id; mind_entry_consnames = cids }] -> id, cids

0 commit comments

Comments
 (0)