Playground execution failed
| Originator: | lognathgreat | ||
| Number: | rdar://17375965 | Date Originated: | 19th June 2014 |
| Status: | Open | Resolved: | |
| Product: | Developer Tool | Product Version: | Xcode6-Beta2 |
| Classification: | Bug | Reproducible: | Always |
When I write a structure with the concept of Innitialization delegation for value types, I got the playground execution failed error
Steps to Reproduce:
1. Write below code in playground beta2
struct MyStruct {
var name : String
var good : String
init(good:String, name:String) {
self.name = name
self.good = good
}
init(name: String, good:String) {
self.init(good:good, name:name)
}
}
var myClass = MyStruct (name:"MyStruct", good:"good")
myClass
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!