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

changes in overridden methods not reflected in inherited methods #30

Open
redneckbeard opened this issue Feb 26, 2022 · 0 comments
Open

Comments

@redneckbeard
Copy link
Owner

Because inheritance currently references the same method definition in memory, if an inherited method calls a method that is overridden on a child class, any changes to that method (signature, public/private status) will not be reflected in the body of the inherited method. This will probably be fixed automatically by adding super support since the solution should be roughly the same: inherited methods need to have the AST of the body cloned, rather than referenced.

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

No branches or pull requests

1 participant