-
Notifications
You must be signed in to change notification settings - Fork 12.9k
25840 - Add a more meaningful error message to the case when calling a public static method on an instance #25922
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
25840 - Add a more meaningful error message to the case when calling a public static method on an instance #25922
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good start.
c629c8b
to
ee1a506
Compare
@sandersn can you take another look please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my previous comment about a change to typeHasStaticPropertyName
.
… static method on an instance
… feature/25840-add-a-more-meaningful-error-message-to-the-case-when-calling-a-public-static-method-on-an-instance
ee1a506
to
88b2f6a
Compare
e20b0c3
to
0e06a95
Compare
@sandersn can you review the recent commit? |
Thanks for the PR @a-tarasyuk! This is a nice contribution to our improved error messages effort. |
@sandersn Thank you very much for your help! 👍 :) |
Fixes #25840