Closed fisker closed 3 years ago
Can you please provide details in this issue? A link to a PR isn’t enough for us to evaluate this.
I updated the issue description.
Thanks. This is actually an issue with Acorn, which Espree wraps. I’d suggest opening an issue there. We can pull in the updated version when it’s fixed.
I think acorn already fixed it https://github.com/acornjs/acorn/commit/848d14e20653a211b06c8e167810bd4fae2173cf
Awesome, then we can look at incorporating it.
@fisker it seems that the latest Acorn still doesn't throw an error on this particular example. Can you open an issue on https://github.com/acornjs/acorn repository?
@mdjermanovic as you requested, I have opened an issue and created a PR to fix this in Acorn.
Somehow, I missed this. Thank you @robpalme!
@robpalme thanks!
This is now fixed in the Acorn 8.2.2 release.
You are my hero @robpalme. Thank you.
espree
parse this asawait (5 ** 6)
In chrome, this is a syntax error
Babel PR babel/babel#12441