Skip to content

Conversation

@punchagan
Copy link

@punchagan punchagan commented Dec 15, 2025

Previously, ASI was disabled before in, but this breaks parsing of
when clauses with range tests. This commit removes this restriction and
only avoids insertion of a newline before instanceof.

@github-actions github-actions bot added the scanner Related to the external scanner label Dec 15, 2025
@punchagan punchagan force-pushed the semicolon-range-test branch from 7aedb68 to 03c6e42 Compare December 15, 2025 10:06
Previously, ASI was disabled before `in`, but this breaks parsing of
when clauses with range tests. This commit removes this restriction and
only avoids insertion of a newline before `instanceof`.
@punchagan punchagan force-pushed the semicolon-range-test branch from 03c6e42 to 0abff92 Compare December 15, 2025 10:24
@punchagan punchagan marked this pull request as ready for review December 15, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scanner Related to the external scanner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant