Skip to content

Commit c9e8b31

Browse files
committed
Fix error message
1 parent 118294a commit c9e8b31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/ml/typecore.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4675,10 +4675,10 @@ let report_error env loc ppf error =
46754675
fprintf ppf
46764676
"@,\
46774677
@,\
4678-
It is called with @{<error>%d@} argument%s but requires%s \
4678+
It is called with %s@{<error>%d@} argument%s but requires \
46794679
@{<info>%d@}."
4680-
args
46814680
(if args > arity then " just" else "")
4681+
args
46824682
(if args = 1 then "" else "s")
46834683
arity;
46844684

0 commit comments

Comments
 (0)