Swift code crashes XCode
| Originator: | hello | ||
| Number: | rdar://17148323 | Date Originated: | 2014-06-04 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | XCode 6.0 (6A215l) |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary:
Entering the following Swift code into a new Playground crashes Xcode:
class Thing {
var props = Dictionary<String, String>()
}
class OtherThing: Thing {
func setProp(prop:String, value:String) {
self.props[prop] = value
}
}
var thing = OtherThing()
thing.setProp("name", value:"Alex")
Steps to Reproduce:
1. Create a new Playground
2. Enter the attached code
Expected Results:
XCode doesn't crash
Actual Results:
XCode crashes
Version:
6.0 (6A215l)
Notes:
Configuration:
Late 2013 Retina Macbook Pro 15" (high end config with 16GB RAM), OSX 10.9.3
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!