Skip to content

[test] Fix forward progress detection for lookaround groups#1

Closed
ekassos wants to merge 1 commit into
mainfrom
lookaround-forward-progress-fix
Closed

[test] Fix forward progress detection for lookaround groups#1
ekassos wants to merge 1 commit into
mainfrom
lookaround-forward-progress-fix

Conversation

@ekassos

@ekassos ekassos commented Jun 21, 2026

Copy link
Copy Markdown
Owner

When a quantified concatenation begins with a lookaround group, the forward progress checker fails to skip over the assertion's child subtree, leaving the analysis cursor misaligned and leading to false positives.

When a quantified concatenation begins with a lookaround group, the forward
progress checker fails to skip over the assertion's child subtree, leaving the
analysis cursor misaligned and leading to false positives.

This change skips the lookaround's child subtree, matching the treatment added
for nullable quantifications in swiftlang#851.
@ekassos ekassos self-assigned this Jun 21, 2026
@ekassos ekassos closed this Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant