[swift-users] Binary Operator '??' cannot be applied to operands of type 'T?' and 'Never'

Jonathan Hull jhull at gbis.com
Wed Oct 5 22:34:04 CDT 2016


I used to be able to use ?? with fatalError(“Message”) to trap with a custom message in case of nil.  This no longer works in Swift 3 (I think because of the update to never type)


More information about the swift-users mailing list