Swift typealias cycle crash
| Originator: | dodonov | ||
| Number: | rdar://20896880 | Date Originated: | 11-May-2015 |
| Status: | Open | Resolved: | |
| Product: | Product Version: | ||
| Classification: | Reproducible: | Always |
Summary:
Typealias cycles in Swift constantly crash Playground service.
Steps to Reproduce:
1. Create new playground in Xcode.
Insert code:
import UIKit
protocol AType {
typealias B: BType
}
protocol BType {
typealias A: AType
}
Expected Results:
Xcode works as intended.
Actual Results:
Xcode says:
"An error occurred while trying to communicate with a helper application. You may need to restart Xcode before playgrounds will run again."
or
"Communication with the playground service was interrupted unexpectedly.
The playground service "com.apple.dt.Xcode.Playground" may have generated a crash log."
Version:
Xcode Version 6.3.1 (6D1002)
Configuration:
OS X 10.10.4 (14E11f)
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!