Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to coq/coq#18331 (mind_kelim -> mind_squashed) #1015

Merged
merged 1 commit into from
Nov 29, 2023
Merged
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
6 changes: 5 additions & 1 deletion template-coq/src/quoter.ml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,11 @@ struct
in ps, acc
| _ -> [], acc
in
let sf = Q.quote_sort_family oib.Declarations.mind_kelim in
let kelim = match oib.Declarations.mind_squashed with
| None -> Sorts.InType
| Some _ -> Inductive.inductive_sort_family oib
in
let sf = Q.quote_sort_family kelim in
(Q.quote_ident oib.mind_typename, indices, indsort, indty, sf,
(List.rev reified_ctors), projs, Q.quote_relevance oib.mind_relevance) :: ls, acc)
([],acc) (Array.to_list mib.mind_packets)
Expand Down