[swift-evolution] [Review] SE-0047 Defaulting non-Void functions so they warn on unused results

Erica Sadun erica at ericasadun.com
Thu Mar 17 15:10:20 CDT 2016


> On Mar 17, 2016, at 1:09 PM, Dan Raviv via swift-evolution <swift-evolution at swift.org> wrote:
> 
> -1 for 
> this behavior in playgrounds.

I've been told that this is automatically disabled in playgrounds (waves hi to Jordan R) since results are always used by 
displaying them in the sidebar. 

"Playgrounds don't give any "unused result" warnings because there aren't any unused results—
they all get displayed in the output column." -- SR-945

-- E

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


More information about the swift-evolution mailing list