[swift-dev] Possible bug with arithmetic optional comparison ?

Yaman JAIOUCH yjaiouch at gmail.com
Tue May 24 04:27:59 CDT 2016


nil == 0 // false
nil < 0 // true
nil > 0 // false

Is this a potential bug or an intended behavior ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160524/76b15547/attachment.html>


More information about the swift-dev mailing list