Skip to content

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

Merged
merged 6 commits into from
Jul 10, 2018

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Jul 10, 2018

Fixes rdar://problem/38077232 / https://bugs.swift.org/browse/SR-5581, and rdar://problem/34812895 / https://bugs.swift.org/browse/SR-6000.

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

@slavapestov slavapestov force-pushed the protocol-superclass-part-4 branch from 4ef160f to d70419e Compare July 10, 2018 04:48
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

@slavapestov
Copy link
Contributor Author

@aciidb0mb3r Any ideas?

00:33:32 Failing Tests (6):
00:33:32     swift-package-tests :: swift-build-self-host.py
00:33:32     swift-package-tests :: swift-build.txt
00:33:32     swift-package-tests :: swift-package-with-spaces.txt
00:33:32     swift-package-tests :: test-complex-xctest-package/test-xctest-package.txt
00:33:32     swift-package-tests :: test-foundation-package/test-foundation-package.txt
00:33:32     swift-package-tests :: test-xctest-package/test-xctest-package.txt

@slavapestov
Copy link
Contributor Author

@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>.
@slavapestov slavapestov force-pushed the protocol-superclass-part-4 branch from d70419e to eeb5c95 Compare July 10, 2018 07:34
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

2 similar comments
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test macOS

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

@aciidgh
Copy link
Contributor

aciidgh commented Jul 10, 2018

@slavapestov sorry about that, I’ll fix them first thing in the morning.

@aciidgh
Copy link
Contributor

aciidgh commented Jul 10, 2018

Disabled the tests in swiftlang/swift-integration-tests@a39ef35

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test Linux

@slavapestov
Copy link
Contributor Author

The source compat suite is broken right now. I'll keep an eye on the bots after merging this.

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.

2 participants