Skip to content

[Constraint system] Simplify solution application target handling #29635

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 3 commits into from
Feb 4, 2020

Conversation

DougGregor
Copy link
Member

Various simplifications to solution application target and contextual conversions.

…em all.

Capture the peculiarities of contextual types vs. types used to generate
conversion constraints, as well as the behavior of “optional some” patterns
as used by if let / while let, within SolutionApplicationTarget. This allows
us to use a single target throughout setup / solving / application, rather
than mapping between two similar-but-disjoint targets.
…aint.

We were storing more state than necessary in the constraint system.
@DougGregor DougGregor requested a review from xedin February 4, 2020 07:10
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@xedin
Copy link
Contributor

xedin commented Feb 4, 2020

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 08dca46 into swiftlang:master Feb 4, 2020
@DougGregor DougGregor deleted the simplify-solution-target branch February 4, 2020 23:24
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.

3 participants