-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Protocol superclass constraints part 4 #17851
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
Protocol superclass constraints part 4 #17851
Conversation
@swift-ci Please smoke test |
@swift-ci Please test source compatibility |
4ef160f
to
d70419e
Compare
@swift-ci Please smoke test |
@swift-ci Please test source compatibility |
@aciidb0mb3r Any ideas?
|
@swift-ci Please smoke test Linux |
These will never work properly because of phase ordering issues with the current declaration checker design. Since we can always express the same thing with the protocol inheritance clause instead, just diagnose this as an error instead of trying to hack around it. Fixes <rdar://problem/38077232>, <https://bugs.swift.org/browse/SR-5581>.
d70419e
to
eeb5c95
Compare
@swift-ci Please smoke test |
@swift-ci Please test source compatibility |
@swift-ci Please smoke test macOS |
@swift-ci Please test source compatibility |
@slavapestov sorry about that, I’ll fix them first thing in the morning. |
Disabled the tests in swiftlang/swift-integration-tests@a39ef35 |
@swift-ci Please smoke test Linux |
The source compat suite is broken right now. I'll keep an eye on the bots after merging this. |
Fixes rdar://problem/38077232 / https://bugs.swift.org/browse/SR-5581, and rdar://problem/34812895 / https://bugs.swift.org/browse/SR-6000.