Skip to content

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

Conversation

a-tarasyuk
Copy link
Contributor

Fixes #25840

Copy link
Member

@sandersn sandersn left a 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.

@a-tarasyuk a-tarasyuk force-pushed the feature/25840-add-a-more-meaningful-error-message-to-the-case-when-calling-a-public-static-method-on-an-instance branch 5 times, most recently from c629c8b to ee1a506 Compare July 26, 2018 09:56
@mhegazy
Copy link
Contributor

mhegazy commented Jul 30, 2018

@sandersn can you take another look please.

Copy link
Member

@sandersn sandersn left a 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.

… feature/25840-add-a-more-meaningful-error-message-to-the-case-when-calling-a-public-static-method-on-an-instance
@a-tarasyuk a-tarasyuk force-pushed the feature/25840-add-a-more-meaningful-error-message-to-the-case-when-calling-a-public-static-method-on-an-instance branch from ee1a506 to 88b2f6a Compare August 5, 2018 11:26
@a-tarasyuk a-tarasyuk force-pushed the feature/25840-add-a-more-meaningful-error-message-to-the-case-when-calling-a-public-static-method-on-an-instance branch from e20b0c3 to 0e06a95 Compare August 5, 2018 12:38
@RyanCavanaugh
Copy link
Member

@sandersn can you review the recent commit?

@sandersn sandersn merged commit 37b9a6b into microsoft:master Aug 6, 2018
@sandersn
Copy link
Member

sandersn commented Aug 6, 2018

Thanks for the PR @a-tarasyuk! This is a nice contribution to our improved error messages effort.

@a-tarasyuk
Copy link
Contributor Author

@sandersn Thank you very much for your help! 👍 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants