File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ let unquote_mutual_inductive_entry env evm trm (* of type mutual_inductive_entry
282282 let priv = unquote_map_option unquote_bool priv in
283283 let ctx, univs = match univs with
284284 | UState. Monomorphic_entry ctx ->
285- if template then Univ.ContextSet. empty, Entries. Template_ind_entry ctx
285+ if template then Univ.ContextSet. empty, Entries. Template_ind_entry { univs = ctx; pseudo_sort_poly = TemplateUnivOnly }
286286 else ctx, Entries. Monomorphic_ind_entry
287287 | UState. Polymorphic_entry uctx -> Univ.ContextSet. empty, Entries. Polymorphic_ind_entry uctx
288288 in
Original file line number Diff line number Diff line change @@ -283,10 +283,10 @@ module RetypeMindEntry =
283283 let ctx, mind =
284284 match mind.mind_entry_universes with
285285 | Entries. Monomorphic_ind_entry ->
286- Evd. universe_context_set evm, { mind with mind_entry_universes = Entries. Monomorphic_ind_entry }
287- | Entries. Template_ind_entry ctx ->
288- Evd. universe_context_set evm, { mind with mind_entry_universes = Entries. Template_ind_entry ctx }
289- | Entries. Polymorphic_ind_entry uctx ->
286+ Evd. universe_context_set evm, mind
287+ | Entries. Template_ind_entry _ ->
288+ Evd. universe_context_set evm, mind
289+ | Entries. Polymorphic_ind_entry _ ->
290290 let uctx' = Evd. to_universe_context evm in
291291 Univ.ContextSet. empty, { mind with mind_entry_universes = Entries. Polymorphic_ind_entry uctx' }
292292 in ctx, mind
You can’t perform that action at this time.
0 commit comments