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
64
64
| None -> None
65
65
end
66
66
67
- (* TODO: Move this to appropriate place where it can be shared with typecore.ml *)
68
67
let type_expr ppf typ =
69
68
(* print a type and avoid infinite loops *)
70
69
Printtyp. reset_and_mark_loops typ;
Original file line number Diff line number Diff line change @@ -4168,10 +4168,8 @@ let longident = Printtyp.longident
4168
4168
let super_report_unification_error = Printtyp. super_report_unification_error
4169
4169
let report_ambiguous_type_error = Printtyp. report_ambiguous_type_error
4170
4170
let 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
4175
4173
4176
4174
let report_error env loc ppf error =
4177
4175
match error with
You can’t perform that action at this time.
0 commit comments