Skip to content

Commit

Permalink
Adapt to coq/coq#20178 (UContext.to_context returns qvar set not qual…
Browse files Browse the repository at this point in the history
…ity set)
  • Loading branch information
SkySkimmer committed Feb 5, 2025
1 parent ca7f250 commit 01463cb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions template-coq/src/tm_util.ml
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,6 @@ module RetypeMindEntry =
| Entries.Template_ind_entry uctx -> evm
| Entries.Polymorphic_ind_entry uctx ->
let qs, (us, csts) = UVars.UContext.to_context_set uctx in
let qs = Sorts.Quality.Set.fold (fun q qs -> match q with
| QConstant _ -> assert false
| QVar q -> Sorts.QVar.Set.add q qs) qs Sorts.QVar.Set.empty in
Evd.merge_sort_context_set (UState.UnivFlexible false) evm ((qs,us),csts)
in
let evm, mind = infer_mentry_univs env evm mind in
Expand Down

0 comments on commit 01463cb

Please sign in to comment.