-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Show more of the type where arguments don't match in MethodError
#52740
Comments
rafaqz
changed the title
Show full type where arguments don't match in
Show more of the type where arguments don't match in Jan 4, 2024
MethodError
MethodError
Dup of #52113? |
Yeah, couldn't find it searching issues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The new type simplification is great but it isn't really "context aware"
In this example the key information about what causes the method error is lost due to type symplification with
...
.I really want to know what is in
Val{...}
:The problem is a little clearer in screenshot where the red highlighting of arguments is visible:
Here we can't see why our arguments don't match the existing methods. We may be able to be a little smarter about this - showing more information to the point where the reason for the MethodError is clear.
The text was updated successfully, but these errors were encountered: