-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
IIFE function expression incorrectly deparenthesized when preceded by pure annotation #258
Comments
With another kind of preserved comment, the expression stays parenthesized:
|
The issue first appears in 0.5.22 when the support for pure annotations was added. This kind of code is present in the RxJS compiled source, so I can't use RxJS with newer versions of |
Thanks so much for reporting this. Makes sense why this broke. Sorry I didn't catch it. The fix is in version 0.6.3. |
@evanw Amazing, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm testing with esbuild 0.6.2.
The source file
gives the output
when compiled with no options. This output is not valid JavaScript: it reads as a function declaration with no name.
The text was updated successfully, but these errors were encountered: