Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/rocq_elpi_HOAS.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3004,6 +3004,18 @@ let comInductive_interp_mutual_inductive_constr ~cumulative ~poly ~template ~fin
}
in
ComInductive.interp_mutual_inductive_constr ~arities_explicit:[true] ~template_syntax:[SyntaxAllowsTemplatePoly] ~flags
[%%elif coq = "9.1"]
let comInductive_interp_mutual_inductive_constr ~cumulative ~poly ~template ~finite ~ctx_params ~env_ar_params =
let flags = {
ComInductive.poly;
cumulative;
template = Some false;
finite;
mode = None;
}
in
let env_ar = Environ.pop_rel_context (List.length ctx_params) env_ar_params in
ComInductive.interp_mutual_inductive_constr ~arities_explicit:[true] ~template_syntax:[SyntaxAllowsTemplatePoly] ~flags ~env_ar ~ctx_params
[%%else]
let comInductive_interp_mutual_inductive_constr ~cumulative ~poly ~template ~finite ~ctx_params ~env_ar_params =
let flags = {
Expand All @@ -3012,6 +3024,7 @@ let comInductive_interp_mutual_inductive_constr ~cumulative ~poly ~template ~fin
template = Some false;
finite;
mode = None;
schemes = Default;
}
in
let env_ar = Environ.pop_rel_context (List.length ctx_params) env_ar_params in
Expand Down
Loading