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-2370] Compiler crash when subclassing in a different file a class which conforms to a fileprivate protocol #44977
Comments
Comment by Jon Colverson (JIRA) The current trunk snapshot toolchain (swift-DEVELOPMENT-SNAPSHOT-2016-08-15-a.xctoolchain) also crashes, but with a more useful assertion failure:
|
Eh, not so much; that assertion's a catch-all. I'm pretty sure this is not a regression—we had the same problem with Swift 2 private. |
That doesn't mean it shouldn't be fixed, of course. |
Comment by Jon Colverson (JIRA) Oh I see. Yes, you're right, the 2.3 toolchain fails in the same way when it's private. I looked for dupes but only searched for fileprivate so I'll see if I can find a dupe and close this if there is one. |
I don't think there's another JIRA bug for it yet. I'll look for a Radar later. |
Comment by Jon Colverson (JIRA) I couldn't find one. SR-470 looks like it might be related, but doesn't have a clear repro. Thanks! |
Comment by Mohamed Afifi (JIRA) I came here from google, I have this issue too. |
@swift-ci create |
This was fixed by #14473 |
Attachment: Download
Environment
Apple Swift version 3.0 (swiftlang-800.0.43.6 clang-800.0.38)
Target: x86_64-apple-macosx10.9
Xcode 8.0 beta 6 (8S201h)
OS X 10.11.6 (15G31)
Additional Detail from JIRA
md5: 9cdf9c400567c536aff2a4740836e2d3
is duplicated by:
Issue Description:
The compiler is crashing when building a project consisting of two files:
A.swift
main.swift
the stack trace is:
A minimal demonstration Xcode project with the code above is attached
The text was updated successfully, but these errors were encountered: