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) _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users
[swift-users] Binary Operator '??' cannot be applied to operands of type 'T?' and 'Never'
Jonathan Hull via swift-users Wed, 05 Oct 2016 20:36:07 -0700
- [swift-users] Binary Operator '??' can... Jonathan Hull via swift-users
- Re: [swift-users] Binary Operator... Adrian Zubarev via swift-users
- Re: [swift-users] Binary Oper... Jacob Bandes-Storch via swift-users