<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">This has been proposed and rejected a few times, actually. You can see it in the Swift-Evolution “Commonly Rejected Changes” document here:&nbsp;<a href="https://github.com/apple/swift-evolution/blob/master/commonly_proposed.md" class="">https://github.com/apple/swift-evolution/blob/master/commonly_proposed.md</a><div class=""><br class=""></div><div class="">-BJ<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 11, 2017, at 12:29 PM, Manuel Carrasco Molina 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 class="">Hi,<br class=""><br class="">We usually do this<br class=""><br class="">If let foo = foo {<br class="">// bar<br class="">}<br class=""><br class="">What if the compiler would understand<br class=""><br class="">If let foo {<br class="">// bar<br class="">}<br class=""><br class="">As if the `= foo` would be there?<br class=""><br class="">I’d find it great syntactic sugar.<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="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></div></blockquote></div><br class=""></div></body></html>