Skip to content

Bound methods cannot be overridden in subclass anymore #2815

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

Closed
aaronjensen opened this issue Mar 11, 2013 · 2 comments
Closed

Bound methods cannot be overridden in subclass anymore #2815

aaronjensen opened this issue Mar 11, 2013 · 2 comments

Comments

@aaronjensen
Copy link

class Base
  foo: =>
    console.log('Base FOO')

class Sub extends Base
  foo: =>
    console.log('Sub FOO')

sub = new Sub
sub.foo()

Outputs "Base FOO", it used to output "Sub FOO"

@vendethiel
Copy link
Collaborator

#2773 and others

@aaronjensen
Copy link
Author

Ok, I searched and couldn't find one. I'll close this, thanks.

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

No branches or pull requests

2 participants