Is there a reason that any final non-void statement in a closure or function 
shouldn't automagically be an optional return? (And automagically 
warn_unused_result...?)

> On Dec 19, 2015, at 5:44 PM, Andrew Bennett via swift-evolution 
> <[email protected]> wrote:
> 
> +1 for consistency with closures
> 
> On Sun, Dec 20, 2015 at 8:15 AM, Stephen Christopher via swift-evolution 
> <[email protected] <mailto:[email protected]>> wrote:
> The discussion I was remembering, comment courtesy of Chris: 
> https://devforums.apple.com/message/1014317#1014317 
> <https://devforums.apple.com/message/1014317#1014317>
> 
> (linked from https://devforums.apple.com/thread/255242 
> <https://devforums.apple.com/thread/255242>)
> 
>  
> _______________________________________________
> swift-evolution mailing list
> [email protected] <mailto:[email protected]>
> https://lists.swift.org/mailman/listinfo/swift-evolution 
> <https://lists.swift.org/mailman/listinfo/swift-evolution>
> 
> 
>  _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to