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

Cannot extend ES6 classes: Class constructors cannot be invoked without 'new' #4208

Closed
balupton opened this issue Feb 16, 2016 · 2 comments
Closed

Comments

@balupton
Copy link

Just did this repo to test interopability between CoffeeScript and ES6 classes: https://github.com/balupton/javascript-coffeescript-class-interop

However it turns out that while ES6 classes can extend CoffeeScript classes, CoffeeScript cannot extend ES6 classes due to the error: Class constructors cannot be invoked without 'new'

As ES6 becomes more widely adopted, this seems to be a large interop issue.

@Zorgatone
Copy link

+1 👍

@GeoffreyBooth
Copy link
Collaborator

Closing in favor of #4233. (I know it came later, but it has more discussion.)

Addressed by #4354.

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

3 participants