-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better error message for arity mismatch #17955
Conversation
For comparison,
and
There are weird applications where it's helpful to count the args for the user. |
The error message has changed (I think for the worse): 3.3.0: But thanks for the feedback, I'll apply the changes a bit later. |
The main gripe has progressed:
|
Actually, it gives you a count if it tries to check the type of the formal (hence, not if you supply param types):
Obviously, the first message is more helpful. |
Usual pluralism. |
Superseded by #18665 |
Currently, if we write:
We get a pretty confusing error message:
Now, with
-explained
enabled it's: