You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SR-3853] Compiler segfault when compiling tests and using a class from another framework and extending a superclass of that class with a convenience init in another file
#46438
Closed
swift-ci opened this issue
Feb 3, 2017
· 6 comments
swift-ci opened this issue
Feb 3, 2017
· 6 comments
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
This is a regression in Xcode 8.3 beta, this code compiles under Xcode 8.2. I've attached an example project to repro; just open the Baz project and attempt to test the Baz target by running BazTests.
The text was updated successfully, but these errors were encountered:
Merged as 366b4bc. Note that it may take a while for this to get into an Xcode release, but if you'd like to test it sooner you can download a development snapshot from https://swift.org/download/#snapshots.
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Attachment: Download
Environment
macOS 10.12.3, Xcode 8.3 beta
Additional Detail from JIRA
md5: 712265ae61b936c756c7ed455a99853e
is duplicated by:
Issue Description:
Let's say you have a framework which defines a subclass of a UIKit view, like so:
Now you're writing tests for your framework. You add a test utils extension to UIView:
Now, if you try to use the class from your framework in the tests, perhaps like this:
You'll receive a segfault when compiling your tests:
This is a regression in Xcode 8.3 beta, this code compiles under Xcode 8.2. I've attached an example project to repro; just open the Baz project and attempt to test the Baz target by running BazTests.
The text was updated successfully, but these errors were encountered: