Skip to content

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