-
Notifications
You must be signed in to change notification settings - Fork 146
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
Static getter in a class results in SyntaxError with esm 3.2.23 #804
Comments
Have the same problem |
I'm having a similar issue, works with 3.2.22 but not 3.2.23:
|
Yep, super sorry about that folks. Updated parsing support and missed smth. Will have it fixed in the next few hours. |
thanks guys for taking the time to report! looks like a regression. @jdalton the following fail with class Foo {
static get bar() {}
static set bar(val) {}
static async afunc() {}
static *gfunc() {}
static async *agfunc() {}
} |
@jdalton uups, same time. 😄 btw, not sure if you noticed. the git release tags are tagged as |
|
Thanks for the fix @jdalton! I'm noticing some cases are still having trouble however. $ node -r esm
> require('node-fetch')
/Users/brian.beck/Projects/node_modules/node-fetch/lib/index.js:899
[Symbol.iterator]() {
^
SyntaxError: Invalid or unexpected token (that works fine on |
I'll throw that into the test mix too : ) |
Ditto to @exogen comment with the same error. |
The following can no longer be loaded with the 3.2.23 release:
If you try you get:
It works with 3.2.22.
The text was updated successfully, but these errors were encountered: