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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: non-null assertion operator in comparison #13445

Closed
1 task
veloek opened this issue Jun 10, 2021 · 5 comments 路 Fixed by #13449
Closed
1 task

[Bug]: non-null assertion operator in comparison #13445

veloek opened this issue Jun 10, 2021 · 5 comments 路 Fixed by #13449
Assignees
Labels
area: typescript i: regression outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: parser

Comments

@veloek
Copy link

veloek commented Jun 10, 2021

馃捇

  • Would you like to work on a fix?

How are you using Babel?

babel-loader (webpack)

Input code

some.value! < another.value!

Configuration file name

No response

Configuration

No response

Current and expected behavior

I'm getting "SyntaxError: Missing semicolon." in version 7.14.5, but it was working fine in 7.14.4.

Environment

@babel/parser version 7.14.5

Possible solution

No response

Additional context

The typescript compiler is not complaining.

@babel-bot
Copy link
Collaborator

Hey @veloek! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite."

@JLHwung
Copy link
Contributor

JLHwung commented Jun 10, 2021

REPL.
Requires jsx and typescript parser plugin to reproduce.
Possibly introduced in #13431.

@veloek
Copy link
Author

veloek commented Jun 11, 2021

Thanks for the quick fix, @JLHwung!

@prueker
Copy link

prueker commented Jun 14, 2021

When will this fix be released, it's been 4 days, but the broken version 7.14.5 is still the latest version in the repo and npm @JLHwung

@JLHwung
Copy link
Contributor

JLHwung commented Jun 14, 2021

Fixed in @babel/parser 7.14.6.

@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Sep 14, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: typescript i: regression outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: parser
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants