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

Rollup class fields error: 'super' keyword outside a method #3505

Closed
pschroen opened this issue Apr 18, 2020 · 6 comments · Fixed by #3511
Closed

Rollup class fields error: 'super' keyword outside a method #3505

pschroen opened this issue Apr 18, 2020 · 6 comments · Fixed by #3511

Comments

@lukastaegert
Copy link
Member

This is an issue in the underlying acorn plugin, I filed an issue upstream: acornjs/acorn-class-fields#9. Not sure when it will be resolved, though, as development is somewhat stalled there 😢

@ChocolateLoverRaj
Copy link

It still gives the same error. I don't think this issue was fixed.

@ChocolateLoverRaj
Copy link

Ok, i realised that my error is slightly different than the error on the issue. It still gives the error message, 'super' keyword outside a method. My error is with static properties using the 'super' keyword. I will start a separate issue.

@pschroen
Copy link
Author

Referencing the new issue (#3702), should have caught this before...

@lukastaegert
Copy link
Member

In their defense, this time the issue is likely in another plugin, namely acorn-static-class-features vs.acorn-class-fields

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 a pull request may close this issue.

3 participants