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

Prettier failed to parse when using babel-ts #14934

Closed
so1ve opened this issue Jun 11, 2023 · 2 comments
Closed

Prettier failed to parse when using babel-ts #14934

so1ve opened this issue Jun 11, 2023 · 2 comments
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Comments

@so1ve
Copy link
Contributor

so1ve commented Jun 11, 2023

Prettier 2.8.8
Playground link

# Options (if any):
--parser babel-ts

Input:

a(bar < 1, 2 >= (bar))

Output:

SyntaxError: Invalid left-hand side in assignment expression. (1:3)
> 1 | a(bar < 1, 2 >= (bar))
    |   ^

Expected behavior:

It should parse.

However, it seemed to be fixed in babel: babel/babel#15628

Shall we create a new release?

@sosukesuzuki
Copy link
Member

This has been already fixed in main branch.

@so1ve
Copy link
Contributor Author

so1ve commented Jun 13, 2023

Yes I mean you can draft a new release now

@github-actions github-actions bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Nov 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests

2 participants