[swift-evolution] [Accepted] SE-0072: Fully eliminate implicit bridging conversions from Swift

Zach Waldowski zach at waldowski.me
Sat May 7 15:23:07 CDT 2016


On Fri, May 6, 2016, at 11:20 PM, Charles Srstka via swift-evolution wrote:
> let int = num as? Int // 5
> let float = num as? Float // 5
> let int32 = num as? Int32 // nil!
That specific behavior with Int32 seems to be an oversight in the
stdlib. The specific integer types don't get an ObjectiveCBridgeable
implementation.
 
Sincerely,
Zachary Waldowski
zach at waldowski.me
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160507/3ebc7f8e/attachment.html>


More information about the swift-evolution mailing list