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
[SR-8985] Swift 4.2 Conditional Conformance Linux Regression #51489
Comments
Interestingly enough, even if I try to #if os(Linux) the issue, an AST check blows things up: pointfreeco/swift-nonempty@cfa55ac I can't even retain conditional conformance on non-Linux platforms 🙁 |
@swift-ci create |
I'll try to reproduce this pretty soon, but meanwhile is it possible to check with a master snapshot? We changed a lot of things about how generic parameters are implemented that couldn't be cherry-picked to 4.2, so it's possible this is "already" fixed. (Even though it won't be out for a while, sorry.) |
Okay, a master snapshot does this:
|
…which is SR-9068. So I'm not sure if this is fixed yet or not. |
Okay, replacing that body with |
I never managed to add the test case and I can't even get this to fail anymore (Swift 4.2 on Ubuntu 18.04). At this point I think it's not worth spending time on anymore. |
Environment
Swift 4.2 from https://hub.docker.com/r/norionomura/swift/
So tag "siwft-4.2-RELEASE", Ubuntu 16.04
Additional Detail from JIRA
md5: 7e106198346b215a7bda8b4ea4154b89
Issue Description:
We noticed that a library of ours that heavily relies on conditional conformance broke on Linux with the release of Swift 4.2.
The issue is reproducible from the first commit of this PR:
pointfreeco/swift-nonempty#8
Merely check out the repository and, with Docker running, run "make test-linux".
The text was updated successfully, but these errors were encountered: