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 8057ded commit 12debe4Copy full SHA for 12debe4
compiler/ml/typecore.ml
@@ -4676,11 +4676,11 @@ let report_error env loc ppf error =
4676
fprintf ppf
4677
"@,\
4678
@,\
4679
- It is called with @{<error>%d@} argument%s but requires%s \
+ It is called with @{<error>%d@} argument%s but%s requires \
4680
@{<info>%d@}."
4681
args
4682
- (if args > arity then " just" else "")
4683
(if args = 1 then "" else "s")
+ (if args > arity then " just" else "")
4684
arity;
4685
4686
(* Add suggestions for related functions with correct arity *)
0 commit comments