Przeglądaj źródła

Fix remap vs module resolution for sub types

Rudy Ges 3 miesięcy temu
rodzic
commit
4638cb11fa
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/typing/typeloadParse.ml

+ 1 - 1
src/typing/typeloadParse.ml

@@ -325,7 +325,7 @@ let parse_module com m p =
 										TPType (make_ptp_th_null (mk_type_path ([],fst tp.tp_name)))
 										TPType (make_ptp_th_null (mk_type_path ([],fst tp.tp_name)))
 									) d.d_params
 									) d.d_params
 								in
 								in
-								mk_type_path ~params (!remap,fst d.d_name)
+								mk_type_path ~params ~sub:(fst d.d_name) (!remap,snd m)
 						in
 						in
 						make_ptp_th_null tp
 						make_ptp_th_null tp
 					end
 					end