Skip to content

[ConstraintSystem] Don't attempt bindings for closure parameters/resu… #30067

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 1 commit into from
Feb 26, 2020

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Feb 26, 2020

…lt until body is opened

Let's delay attempting any bindings for type variables representing
parameters or result type of the closure until the body is "opened"
because it's impossible to infer a full set of bindings until all
constraints related to a closure have been generated.

Resolves: rdar://problem/59741308

…lt until body is opened

Let's delay attempting any bindings for type variables representing
parameters or result type of the closure until the body is "opened"
because it's impossible to infer a full set of bindings until all
constraints related to a closure have been generated.

Resolves: rdar://problem/59741308
@xedin xedin requested a review from DougGregor February 26, 2020 01:43
@xedin
Copy link
Contributor Author

xedin commented Feb 26, 2020

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Feb 26, 2020

@swift-ci please test source compatibility

@xedin xedin merged commit e70ef60 into swiftlang:master Feb 26, 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