Skip to content

Lookahead Through Balanced Brackets In Closure Capture Lists #858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Sep 28, 2022

Lookahead here was trying to eat its way to the nearest right bracket rather than the nearest balanced right bracket.

@CodaFi CodaFi requested a review from ahoppen as a code owner September 28, 2022 20:24
Lookahead here was trying to eat its way to the nearest right bracket
rather than the nearest *balanced* right bracket.

rdar://100491747
@CodaFi
Copy link
Contributor Author

CodaFi commented Sep 28, 2022

Fixes #852

@CodaFi
Copy link
Contributor Author

CodaFi commented Sep 28, 2022

@swift-ci test

@CodaFi CodaFi merged commit 720da6e into swiftlang:main Sep 28, 2022
@CodaFi CodaFi deleted the captcha branch September 28, 2022 23:38
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