title: Why is if(true && false);{ foo(); } valid?
body: <p>This is one nasty bug that took me half an hour to resolve. The compiler believes this is valid code and when it evaluates the statement, it will still call foo():</p>
  
  <pre><code>if(true &amp;&amp; false);{ foo(); }
  </code></pre>
  
  <p>Why is it valid and why does foo() still get called?</p>