[swift-evolution] [Pitch] Make `return` optional in computed properties for a single case
adrian.zubarev at devandartist.com
Tue May 31 14:13:21 CDT 2016
Please remove the section on guard as any of the preceding will never have single expression top level code blocks if they contain a guard clause.
I didn’t get this at first but now I see your point, it’s because the whole returning scope will need `return` at the very end so `guard` should follow that rule.
Sent with Airmail
Am 31. Mai 2016 um 21:00:43, Matthew Johnson (matthew at anandabits.com) schrieb:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution