We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118294a commit 2c6b961Copy full SHA for 2c6b961
compiler/ml/typecore.ml
@@ -4675,11 +4675,11 @@ let report_error env loc ppf error =
4675
fprintf ppf
4676
"@,\
4677
@,\
4678
- It is called with @{<error>%d@} argument%s but requires%s \
+ It is called with @{<error>%d@} argument%s but%s requires \
4679
@{<info>%d@}."
4680
args
4681
- (if args > arity then " just" else "")
4682
(if args = 1 then "" else "s")
+ (if args > arity then " just" else "")
4683
arity;
4684
4685
(* Add suggestions for related functions with correct arity *)
0 commit comments