-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[CSBindings] Account for literal bindings when checking "subtype of e… #37643
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
Conversation
@swift-ci please test |
@swift-ci please test source compatibility |
Build failed |
@swift-ci please test macOS platform |
@swift-ci please test Windows platform |
@swift-ci please test source compatibility |
…xistential" property It's important to know whether a binding set has all of its bindings as subtypes of some existential type(s), type variables like that should be delayed. Incremental binding inference introduced a bug into computation of this property by checking only directly inferable bindings, but it's also important to check that there are no literal requirements that can produce bindings, because that would mean that type variable can never be just a subtype of existential type(s). Resolves: rdar://77570994
@swift-ci please test |
Build failed |
@swift-ci please test macOS platform |
Build failed |
@shahmishal macOS builds are timing out on |
@swift-ci please test macOS platform |
…xistential" property
It's important to know whether a binding set has all of its bindings
as subtypes of some existential type(s), type variables like that
should be delayed.
Incremental binding inference introduced a bug into computation of
this property by checking only directly inferable bindings, but
it's also important to check that there are no literal requirements
that can produce bindings, because that would mean that type variable
can never be just a subtype of existential type(s).
Resolves: rdar://77570994