Skip to content

Generalize solution application #29026

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
Jan 7, 2020

Conversation

DougGregor
Copy link
Member

Pick off some pieces of #27713 that can be merged without changing anything. This pull request generalizes solution application somewhat, so it can be applied to an abstract "target" that can be an expression (the normal case) or a function/closure.

Chip away at the expression-centric nature of the constraint system by
generalizing the "target" of solution application from a single
expression to a a "SolutionApplicationTarget", which can be an
expression or a function body. The latter will be used for applying
function builders to an entire function body.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor merged commit d903ca9 into swiftlang:master Jan 7, 2020
@DougGregor DougGregor deleted the generalize-solution-apply branch January 7, 2020 05:04
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