Skip to content

[TypeChecker] Don't try to validate generic requirements when unbound… #25181

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
Jun 3, 2019

Conversation

xedin
Copy link
Contributor

@xedin xedin commented May 31, 2019

… generic types are involved

If one of the generic parameters is missing let's give solver a
chance to diagnose the problem, otherwise there is a risk of failing
type resolution and not producing any diagnostics.

Resolves: rdar://problem/50099849

… generic types are involved

If one of the generic parameters is missing let's give solver a
chance to diagnose the problem, otherwise there is a risk of failing
type resolution and not producing any diagnostics.

Resolves: rdar://problem/50099849
@xedin xedin requested a review from slavapestov May 31, 2019 22:17
@xedin
Copy link
Contributor Author

xedin commented May 31, 2019

@slavapestov I'm not certain that this is the best place to fix this problem but it's what I could come up with.

@xedin
Copy link
Contributor Author

xedin commented May 31, 2019

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented May 31, 2019

@swift-ci please test source compatibility

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 6b35f5d

@xedin
Copy link
Contributor Author

xedin commented Jun 1, 2019

@swift-ci please test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Jun 3, 2019

@swift-ci please smoke test

@xedin xedin merged commit e5e4f2a into swiftlang:master Jun 3, 2019
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