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

Syntax error on valid javascript code #5

Closed
jpike88 opened this issue May 15, 2019 · 9 comments
Closed

Syntax error on valid javascript code #5

jpike88 opened this issue May 15, 2019 · 9 comments

Comments

@jpike88
Copy link

jpike88 commented May 15, 2019

{ SyntaxError: Invalid left-hand side in assignment (64:39)
        if (async === void 0) { async = false; }
                                       ^

 at report (/a/node_modules/fuse-box/transform/meriyah.js:168:11)
    at parseAssignmentExpression (/a/node_modules/fuse-box/transform/meriyah.js:2635:13)
    at parseAsyncArrowOrAsyncFunctionDeclaration (/a/node_modules/fuse-box/transform/meriyah.js:1987:12)
    at parseStatementListItem (/a/node_modules/fuse-box/transform/meriyah.js:1813:20)
    at parseBlock (/a/node_modules/fuse-box/transform/meriyah.js:1908:19)
    at parseStatement (/a/node_modules/fuse-box/transform/meriyah.js:1821:20)
    at parseConsequentOrAlternate (/a/node_modules/fuse-box/transform/meriyah.js:2040:11)
    at parseIfStatement (/a/node_modules/fuse-box/transform/meriyah.js:2025:24)
    at parseStatement (/a/node_modules/fuse-box/transform/meriyah.js:1827:20)
    at parseStatementListItem (/a/node_modules/fuse-box/transform/meriyah.js:1815:20)
@jpike88
Copy link
Author

jpike88 commented May 15, 2019

@KFlash
Copy link
Contributor

KFlash commented May 15, 2019

Thanx for this :) I'm actually in the middle of fuzz testing the source so will fix it shortly!

@jpike88
Copy link
Author

jpike88 commented May 15, 2019

Thanks, I'm working closely with the fuse-box project, apparently this library totally kicks ass so keep up the good work :)

@KFlash
Copy link
Contributor

KFlash commented May 15, 2019

The issue was that "async" isn't seen as a "ordinary" ident so I just forgot to make async ident assignable :)

Fix is coming within a few minutes

@KFlash KFlash closed this as completed in 7805610 May 15, 2019
@jpike88
Copy link
Author

jpike88 commented May 15, 2019

Thanks, I understand @nchanged is getting a custom build from you, should that sit on a branch here? Or is it too weird

@nchanged
Copy link
Contributor

@KFlash can't wait for the build

@KFlash
Copy link
Contributor

KFlash commented May 15, 2019

I just got home. Will fix you a build soon.

@KFlash
Copy link
Contributor

KFlash commented May 15, 2019

@jpike88 I keep customs on my HDD :) And just delivered a new custom build to @nchanged

@KFlash
Copy link
Contributor

KFlash commented May 26, 2019

@jpike88 @nchanged No more need for custom builds. See #2

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

3 participants