Skip to content

Protocol superclass constraints part 4#17851

Merged
slavapestov merged 6 commits intoswiftlang:masterfrom
slavapestov:protocol-superclass-part-4
Jul 10, 2018
Merged

Protocol superclass constraints part 4#17851
slavapestov merged 6 commits intoswiftlang:masterfrom
slavapestov:protocol-superclass-part-4

Conversation

@slavapestov
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Copy Markdown
Contributor Author

@swift-ci Please test source compatibility

@slavapestov
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@swift-ci Please smoke test

2 similar comments
@slavapestov
Copy link
Copy Markdown
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Copy Markdown
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Copy Markdown
Contributor Author

@swift-ci Please test source compatibility

@slavapestov
Copy link
Copy Markdown
Contributor Author

@swift-ci Please smoke test macOS

@slavapestov
Copy link
Copy Markdown
Contributor Author

@swift-ci Please test source compatibility

@aciidgh
Copy link
Copy Markdown
Contributor

aciidgh commented Jul 10, 2018

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

@aciidgh
Copy link
Copy Markdown
Contributor

aciidgh commented Jul 10, 2018

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

@slavapestov
Copy link
Copy Markdown
Contributor Author

@swift-ci Please smoke test Linux

@slavapestov
Copy link
Copy Markdown
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