[swift-evolution] An implicit return for guard

Adrian Zubarev adrian.zubarev at devandartist.com
Mon Jun 20 03:33:36 CDT 2016


@implicitreturn guard a = b else { print(“foo”) }
Isn’t that just the same? I mean now you even write more boilerplate then bebore.

How does your return type look, what are you trying to solve?



-- 
Adrian Zubarev
Sent with Airmail

Am 20. Juni 2016 um 08:30:39, Yarden Eitan via swift-evolution (swift-evolution at swift.org) schrieb:

@implicitreturn guard a = b else { print(“foo”) } 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160620/633f234a/attachment.html>


More information about the swift-evolution mailing list