Skip to content
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

Remove property-override-method error #34494

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Oct 15, 2019

Originally removed incorrectly along with method-override-property error in #24343, then both were restored in #33509. Only method-override-property should be an error, since it doesn't actually work at runtime.

Fixes #33855

Originally removed incorrectly along with method-override-property error
in #24343, then both were restored in #33509. Only
method-override-property should be an error, since it doesn't actually
work at runtime.
Copy link
Member

@andrewbranch andrewbranch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh cool, I was wondering why this one needed to be an error. I much prefer it this way.

@sandersn
Copy link
Member Author

OTOH, all-errors-all-the-time discourages people from using inheritance, so I secretly preferred the old way.

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.

[3.7.0-beta] Child class cannot override base member function with arrow function
2 participants