Skip to content

[ASTScope lookup] Tolerate non-empty braces in braces #30968

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

Conversation

davidungar
Copy link
Contributor

ASTScope lookup does not expect to see a non-empty brace statement inside a brace statement, but a case has been found that indeed causes it (with illegal code). Do not fail an assertion in this case.
rdar://61461187

@davidungar
Copy link
Contributor Author

@swift-ci please smoke test

@davidungar davidungar merged commit 4c4bf08 into swiftlang:master Apr 11, 2020
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