-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Constraint solver] Migrate for-each statement checking into SolutionApplicationTarget #30924
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
[Constraint solver] Migrate for-each statement checking into SolutionApplicationTarget #30924
Conversation
…ApplicationTarget. Pull the entirety of type checking for for-each statement headers (i.e., not the body) into the constraint system, using the normal SolutionApplicationTarget-based constraint generation and application facilities. Most of this was already handled in the constraint solver (although the `where` filtering condition was not), so this is a smaller change than it looks like.
The last client of this listener-based interface has been refactored, so remove it.
@swift-ci please smoke test |
@swift-ci please test source compatibility |
@swift-ci smoke test platform Linux |
@swift-ci please test source compatibility |
@swift-ci smoke test platform Linux |
@swift-ci smoke test Linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@swift-ci smoke test Linux |
Now that swiftlang/llvm-project#1057 is merged maybe Linux tests will run cleanly. |
@swift-ci smoke test Linux |
1 similar comment
@swift-ci smoke test Linux |
Pull the entirety of type checking for for-each statement headers (i.e., not the
body) into the constraint system, using the normal
SolutionApplicationTarget
-basedconstraint generation and application facilities. Most of this was already handled
in the constraint solver (although the
where
filtering condition was not), sothis is a smaller change than it looks like.
This was the last client of
ExprTypeCheckListener
, so remove that listener interface.