Skip to content

[Sema] Walk patterns for syntactic diagnostics #76193

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 2 commits into from
Sep 5, 2024

Conversation

hamishknight
Copy link
Contributor

@hamishknight hamishknight commented Aug 31, 2024

Use SyntacticElementTarget::walk, ensuring we walk to any ExprPatterns.

Resolves #75389
rdar://132185976

Use `SyntacticElementTarget::walk`, ensuring we
walk to any ExprPatterns.
We no longer need to make any special affordances
for separately-checked closures, walk them normally.
@hamishknight
Copy link
Contributor Author

@swift-ci please test source compatibility

@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please test Windows

@hamishknight hamishknight merged commit 684621d into swiftlang:main Sep 5, 2024
7 checks passed
@hamishknight hamishknight deleted the miscing-diag branch September 5, 2024 21:25
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.

Patterns in if case avoid MiscDiagnostics
2 participants