<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 15, 2017, at 5:55 AM, Mike Kluev via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">On 15 October 2017 at 13:35, Geordie Jay <span dir="ltr" class=""><<a href="mailto:geojay@gmail.com" target="_blank" class="">geojay@gmail.com</a>></span> wrote:<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="">Also we're not talking about whether the Bool itself is discardable. For example, it makes no sense to write:</div><div class=""><br class=""></div><div class=""><b class="">let something: discardable Bool = true</b></div></div></blockquote><div class=""><br class=""></div><div class="">you can't write this either:</div><div class=""><br class=""></div><div class="">let something: inout Bool = true</div><div class=""><br class=""></div><div class="">that doesn't mean "inout" should be "@inputOutput" before the parameter name in function signature.</div><div class=""><br class=""></div><div class="">my litmus test is: "if we did it now in swift 0.0 what would we do". discardable before type passes this test, @discardableResult before function doesn't.</div><div class=""> </div></div></div></div></div></blockquote><br class=""></div><div>FWIW, the official litmus test for Swift 5 is explained here:</div><div><a href="https://github.com/apple/swift-evolution/" class="">https://github.com/apple/swift-evolution/</a></div><div><br class=""></div><div>-Chris</div><div><br class=""></div><div><br class=""></div><br class=""></body></html>