[swift-evolution] /*Let it be*/ func() -> @discardable Bool {} /*Rather Than*/ @discardableResult func() -> Bool {}

Mike Kluev mike.kluev at gmail.com
Sat Oct 21 07:28:21 CDT 2017


> On 20 Oct 2017, at 23:55, David Sweeris <davesweeris at mac.com> wrote:
> 
>>   In any case, I think the “very high bar” we have now for breaking source compatibility makes it unlikely to change at this point

It’s not necessarily a source breaking change as both notations can be supported for a few versions and the older one gradually phased out via the deprecation warnings.

Mike


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171021/a410f67a/attachment.html>


More information about the swift-evolution mailing list