Skip to content

Commit

Permalink
Merge pull request #1015 from SkySkimmer/sort-poly-ind
Browse files Browse the repository at this point in the history
Adapt to coq/coq#18331 (mind_kelim -> mind_squashed)
  • Loading branch information
ppedrot committed Nov 29, 2023
2 parents 72618e5 + 8d6c1cc commit 194116d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion template-coq/src/quoter.ml
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

0 comments on commit 194116d

Please sign in to comment.