<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">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...?)</div><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 19, 2015, at 5:44 PM, Andrew Bennett via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">+1 for consistency with closures</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sun, Dec 20, 2015 at 8:15 AM, Stephen Christopher via swift-evolution <span dir="ltr" class="">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">The discussion I was remembering, comment courtesy of Chris:&nbsp;<div class=""><a href="https://devforums.apple.com/message/1014317#1014317" target="_blank" class="">https://devforums.apple.com/message/1014317#1014317</a><br class=""></div><div class=""><br class=""></div><div class="">(linked from&nbsp;<a href="https://devforums.apple.com/thread/255242" target="_blank" class="">https://devforums.apple.com/thread/255242</a>)</div><div class="gmail_extra"><br class=""></div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=pQw7h83fWt3LLbgkfL4TSUL0weaZnVFZxDe5GShw4uRfHumwpL6M9Cp7ey7v7tvvG0KhLfX4Z2C6Ww75ML8M6fNm2DvO2PrEvmloc9MNkli0YnZKDYPLB7cj74slhlHRdVI7SMyBI2INYGpsdt1r0AJBnK148IlUEtUQ-2BH0W2UirtRZ1bY-2BRb3P6DqRGmShLQFxD0PjXwtfbsYF-2Be5NfYzjBTFxiLf7pgychsoPXd2o-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important" class="">
<br class="">_______________________________________________<br class="">
swift-evolution mailing list<br class="">
<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class="">
<br class=""></blockquote></div><br class=""></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=r5jpKsi6nat7oa43lpCLi5GRGm2utDkbDscuFklXZ2cnWxjR7etC-2BNePgjHjPv5gg-2Fi6J7eaG-2BHVn835t458W-2FGvuEwkdg7a-2BWACtXfrFqugyT1qZuiy4tM37YrWfQBY8F9wHFzVp4BN0iuJPJRUbM5UWYX6BgQIydw3slu92DdZkf5zNpJ1L2Eg3XvAjqJdi5jc-2F9-2F7X-2BkeeMvIhXGy0q-2F5xyUxkVBxa2sUQ6a-2BRcg-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></body></html>