Skip to content

Add'l testing for lookahead forward prog detection#867

Merged
natecook1000 merged 1 commit into
mainfrom
fix/lookahead-forward-progress
Jul 21, 2026
Merged

Add'l testing for lookahead forward prog detection#867
natecook1000 merged 1 commit into
mainfrom
fix/lookahead-forward-progress

Conversation

@natecook1000

Copy link
Copy Markdown
Member

Following #866 with a few additional regression tests.

@natecook1000

Copy link
Copy Markdown
Member Author

@swift-ci Please test Linux platform

@natecook1000
natecook1000 merged commit 9a4d801 into main Jul 21, 2026
24 checks passed
@natecook1000
natecook1000 deleted the fix/lookahead-forward-progress branch July 21, 2026 18:36
natecook1000 added a commit that referenced this pull request Jul 22, 2026
* Fix forward progress detection for lookaround groups (#866)

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 #851.

* Add'l testing for lookahead forward prog detection (#867)

---------

Co-authored-by: Evangelos Kassos <ekassos@hks.harvard.edu>
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