File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1175,7 +1175,7 @@ let rec translate_mind_body name order evdr env kn b inst =
1175
1175
| None -> None , mind_entry_params_R
1176
1176
| Some temp ->
1177
1177
let umap, univs, params = fix_template_params order evdr env temp b mind_entry_params_R in
1178
- Some (umap, univs), params
1178
+ Some (umap, univs, temp.template_pseudo_sort_poly ), params
1179
1179
in
1180
1180
debug_string [`Inductive ] " translatation of inductive ..." ;
1181
1181
let mind_entry_inds_R =
@@ -1188,15 +1188,15 @@ let rec translate_mind_body name order evdr env kn b inst =
1188
1188
| Monomorphic ->
1189
1189
begin match template_univs with
1190
1190
| None -> Monomorphic_ind_entry
1191
- | Some (_ , ctx ) -> Template_ind_entry ctx
1191
+ | Some (_ , ctx , pseudo_sort_poly ) -> Template_ind_entry { univs = ctx; pseudo_sort_poly }
1192
1192
end
1193
1193
| Polymorphic _ ->
1194
1194
let uctx, _ = (Evd. univ_entry ~poly: true ! evdr) in
1195
1195
match uctx with Polymorphic_entry uctx -> Polymorphic_ind_entry uctx | _ -> assert false
1196
1196
in
1197
1197
let mind_entry_inds_R = match template_univs with
1198
1198
| None -> mind_entry_inds_R
1199
- | Some (umap , _ ) ->
1199
+ | Some (umap , _ , _ ) ->
1200
1200
let entry = match mind_entry_inds_R with
1201
1201
| [entry] -> entry
1202
1202
| _ -> assert false
You can’t perform that action at this time.
0 commit comments