File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ end = struct
6464 | None -> None
6565end
6666
67- (* TODO: Move this to appropriate place where it can be shared with typecore.ml *)
6867let type_expr ppf typ =
6968 (* print a type and avoid infinite loops *)
7069 Printtyp. reset_and_mark_loops typ;
Original file line number Diff line number Diff line change @@ -4168,10 +4168,8 @@ let longident = Printtyp.longident
41684168let super_report_unification_error = Printtyp. super_report_unification_error
41694169let report_ambiguous_type_error = Printtyp. report_ambiguous_type_error
41704170let report_subtyping_error = Printtyp. report_subtyping_error
4171- let type_expr ppf typ =
4172- (* print a type and avoid infinite loops *)
4173- Printtyp. reset_and_mark_loops typ;
4174- Printtyp. type_expr ppf typ
4171+
4172+ let type_expr = Error_message_utils. type_expr
41754173
41764174let report_error env loc ppf error =
41774175 match error with
You can’t perform that action at this time.
0 commit comments