diff options
-rw-r--r-- | typing/typecore.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/typing/typecore.ml b/typing/typecore.ml index 4afb1ee17..020adcb8d 100644 --- a/typing/typecore.ml +++ b/typing/typecore.ml @@ -2985,7 +2985,7 @@ let report_error ppf = function reset_and_mark_loops typ; begin match (repr typ).desc with Tarrow _ -> - fprintf ppf "@[<v>@[<2>This function has type@;<1 2>%a@]" + fprintf ppf "@[<v>@[<2>This function has type@ %a@]" type_expr typ; fprintf ppf "@ @[It is applied to too many arguments;@ %s@]@]" "maybe you forgot a `;'." |