Xcode-6.3-Beta (6D520o): Reflecting object yields EXC_BAD_ACCESS
| Originator: | segiddins | ||
| Number: | rdar://19791252 | Date Originated: | 10-Feb-2015 05:50 PM |
| Status: | Closed | Resolved: | 23-Feb-2015 |
| Product: | Developer Tools | Product Version: | Xcode-6.3-Beta (6D520o) |
| Classification: | Other Bug | Reproducible: | Always |
Summary:
Reflecting object yields EXC_BAD_ACCESS
Steps to Reproduce:
Run the following code:
enum State: String {
case Open = "open"
case Closed = "closed"
}
class Foo {
var stateRaw: State = .Open
}
let f = Foo()
let r = reflect(f)
Expected Results:
r should contain an instance of MirrorType
Actual Results:
EXC_BAD_ACCESS on the reflect() call
Regression:
This is a regression from Swift 1.1
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!
Can confirm this is addressed as of Xcode 6.3 beta 2. This issue has been verified as resolved and can be closed.