File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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 =
11751175 | None -> None , mind_entry_params_R
11761176 | Some temp ->
11771177 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
11791179 in
11801180 debug_string [`Inductive ] " translatation of inductive ..." ;
11811181 let mind_entry_inds_R =
@@ -1188,15 +1188,15 @@ let rec translate_mind_body name order evdr env kn b inst =
11881188 | Monomorphic ->
11891189 begin match template_univs with
11901190 | 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 }
11921192 end
11931193 | Polymorphic _ ->
11941194 let uctx, _ = (Evd. univ_entry ~poly: true ! evdr) in
11951195 match uctx with Polymorphic_entry uctx -> Polymorphic_ind_entry uctx | _ -> assert false
11961196 in
11971197 let mind_entry_inds_R = match template_univs with
11981198 | None -> mind_entry_inds_R
1199- | Some (umap , _ ) ->
1199+ | Some (umap , _ , _ ) ->
12001200 let entry = match mind_entry_inds_R with
12011201 | [entry] -> entry
12021202 | _ -> assert false
You can’t perform that action at this time.
0 commit comments