buxlabs / amd-to-es6

convert amd to es
MIT License
35 stars 17 forks source link

"Await expression not allowed in formal parameter" #118

Closed ooptimum closed 3 years ago

ooptimum commented 5 years ago

I'm getting this false error message in an unexpected place of the correct working code. I suppose it is directly related to this issue. You use an outdated affected version of the cherow library in your abstract-syntax-tree library, on which this project depends.

emilos commented 4 years ago

@ooptimum I've changed cherow to meriyah in the abstract-syntax-tree dependency. I've also released a new version of this lib v0.15.0 that uses the latest abstract-syntax-tree. Would you mind checking if this solves your problem? A PR with a test case would be highly appreciated to avoid potential regressions. Thanks!

emilos commented 3 years ago

We're using an updated version of meriyah now, so this issue should be resolved. Please reopen if that's not the case.