Skip to content

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

@veloek

Description

@veloek

💻

  • 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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions