We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Possibly related to: #2805
Invalid code is produced when a comment is placed after an open parenthesis, in an arrow function returning an object:
➜ npx esbuild --version 0.16.16 ➜ cat test.js const foo = () => ( // comment { x: 1, } ); ➜ npx esbuild test.js "use strict"; const foo = () => // comment { x: 1 };
The text was updated successfully, but these errors were encountered:
Thanks for the report. Will fix.
Looks like there's another case as well:
for ((/* foo */ let).x of y) ;
This incorrectly becomes:
for (/* foo */ let.x of y) ;
Sorry, something went wrong.
With 0.16.16, I think i'm seeing another case also:
function *test() { yield (/* foo */function () {}()); }
Becomes:
function* test() { yield /* foo */ function() { }(); }
6346398
No branches or pull requests
Possibly related to: #2805
Invalid code is produced when a comment is placed after an open parenthesis, in an arrow function returning an object:
The text was updated successfully, but these errors were encountered: