<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 Jun 8, 2016, at 4:11 PM, Matt Neuburg 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 class="">Well, I guess I didn't pick a strong enough case. Try this one:<br class=""><br class=""> UIView.animate(withDuration:0.4, delay: 0, options: [.autoreverse]) {<br class=""> self.view.backgroundColor = UIColor.red()<br class=""> }<br class=""><br class="">That doesn't compile. I'm suggesting that it would be cool if it did. m.<br class=""></div></div></blockquote></div><br class=""><div class="">Mid-call closure can mean one of several things:</div><div class=""><br class=""></div><div class="">1. Bad design</div><div class="">2. Multiple closures</div><div class="">3. Design before Swift / ObjC focused</div><div class=""><br class=""></div><div class="">To which:</div><div class=""><br class=""></div><div class="">1. Well, not sure that should be "fixed"</div><div class="">2. I think multiple closures should all be treated the same without trailing</div><div class="">3's a different kind of thing. I vaguely endorse having Cocoa request how it should be imported beyond the SE-0005 rules. </div><div class=""><br class=""></div><div class="">We were kicking around some ideas on "how should defaults embetter" that this kind of relates to: <a href="https://gist.github.com/erica/3987ec54b8f4a580ae5fc18f4e9e7ca5" class="">https://gist.github.com/erica/3987ec54b8f4a580ae5fc18f4e9e7ca5</a> In this example, I can see a rule of "if there's only one closure named animation, completion, etc, promote it to the last argument". Kind of.</div><div class=""><br class=""></div><div class="">-- E, dithery</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>