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

Illegal async arrow function parameter error #22

Closed
mamaniv opened this issue Jul 17, 2019 · 4 comments
Closed

Illegal async arrow function parameter error #22

mamaniv opened this issue Jul 17, 2019 · 4 comments

Comments

@mamaniv
Copy link

mamaniv commented Jul 17, 2019

Hi, I get Illegal async arrow function parameter list error

Here is the minimum code to reproduce the issue:

const sourceCode = "func('str', async param => {});"
meriyah.parse(sourceCode, { ranges: true, globalReturn: true });

BTW, I'm using Meriyah 1.3.4

Is it a known issue or is there any configuration that I missed?
Thanks.

@KFlash KFlash closed this as completed in 72c2e67 Jul 17, 2019
@KFlash
Copy link
Contributor

KFlash commented Jul 17, 2019

Just use Meriyah 1.3.5 :)

@mamaniv
Copy link
Author

mamaniv commented Jul 17, 2019

1.3.4 is the latest in npm

@KFlash
Copy link
Contributor

KFlash commented Jul 17, 2019

I published 1.3.5 to NPM 1 hour ago.

npm

@mamaniv
Copy link
Author

mamaniv commented Jul 17, 2019

Thank you!

KFlash added a commit that referenced this issue Jul 31, 2019
Should be a more permanent solution to #22
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

No branches or pull requests

2 participants