[swift-evolution] /*Let it be*/ func() -> @discardable Bool {} /*Rather Than*/ @discardableResult func() -> Bool {}
David James
davidbjames1 at gmail.com
Thu Oct 12 08:14:19 CDT 2017
> On Oct 12, 2017, at 1:40 PM, Mike Kluev <mike.kluev at gmail.com> wrote:
>
> let me guess: you put it on a different line exactly because it is in it's current ugly form :)
True, and it was making the method signature too long. But at least I have the option to do that. If we move the annotation to just before the return type, then we have no choice.
David James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171012/9dcd8850/attachment.html>
More information about the swift-evolution
mailing list