<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 11, 2016 at 3:32 PM, Amir Michail via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It’s too easy to accidentally write “x==2” instead of “x=2”.<br>
<br>
I don’t think something like “x==2” should be a valid statement.<br></blockquote><div><br></div><div>I&#39;d love to see this become a compiler warning.  Unsure about making it an error; how would it affect implicit return from lambdas? </div></div></div></div>