is there something wrong?
vaseala opened this issue · comments
babylon/src/parser/statement.js
Line 893 in d0c7d7a
is it should to be : `!this.hasPlugin("decorators2")' ?
Hey @ATMjs! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.
It's correct: only the decorators2 plugin disallows decorator on non-method class members, so we need to check if the decorator has been parsed using that plugin