-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed as not planned
Labels
Won't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix itThe severity and priority of this issue do not warrant the time or complexity needed to fix it
Description
Bug Report
π Search Terms
π Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about it
β― Playground Link
Playground link with relevant code
π» Code
x </x>/
π Actual behavior
There is a parse error for a perfectly valid expression
Unexpected keyword or identifier.
Declaration or statement expected.
Unterminated regular expression literal.
π Expected behavior
It should instead parse the expression as
x < /x>/
This is the behavior that is found in Babel and ESBuild.
Metadata
Metadata
Assignees
Labels
Won't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix itThe severity and priority of this issue do not warrant the time or complexity needed to fix it