A playground contains only an extension of NSDecimalNumber that conforms it to ExpressibleByStringLiteral and a variable x that attempts to utilize that extension, and the LLDB RPC server crashes:
import Cocoa
extension NSDecimalNumber: ExpressibleByStringLiteral {
init(stringLiteral value: Self.StringLiteralType) {
self.init(string: value)
}
}
let x: NSDecimalNumber = "1.2"
- Swift 3
- Xcode 8.2.1 (8C1002)
- OS X El Capitan 10.11.6 (15G1421)
Filed on Apple Radar and OpenRadar: https://openradar.appspot.com/31556528