[swift-evolution] Make distinction between ?? -> T and ?? -> T?

Pyry Jahkola pyry.jahkola at iki.fi
Mon Mar 7 18:59:34 CST 2016


> @available(*, deprecated,
>     message="Your unwrappingness gets nowhere less Optional. See?")
> func ** <T>(x: T?, y: T?) -> Nope { fatalError("How embarrassing!") }

This should be `func ??` of course. Used `**` in the playground when writing this, and failed at copy-paste-and-edit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160308/c1b65564/attachment.html>


More information about the swift-evolution mailing list