thanos
thanos copied to clipboard
changes in overridden methods not reflected in inherited methods
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.