title: I cannot understand how Dart Editor evaluates expressions when consider that code is dead
body: <p>This source code generates a warning in Dart Editor. <code>Dead code</code>    </p>
  
  <p>1)
  </p>
  
  <pre><code>if(false) {
  }
  </code></pre>
  
  <p>But this constant expressions that also evaluates to <code>false</code> does not generates a warning.</p>
  
  <p>2)
  </p>
  
  <pre><code>if("hello" is int) {
  }
  </code></pre>
  
  <p>3)
  </p>
  
  <pre><code>if(false || false) {
  }
  </code></pre>
  
  <p>4)
  </p>
  
  <pre><code>if(false == true) {
  }
  </code></pre>
  
  <p>5)
  </p>
  
  <pre><code>if(0 &gt; 0) {
  }
  </code></pre>
  
  <p>How Editor can help me in these cases?</p>
  
  <p>You may consider that all my examples are not from real life.</p>
  
  <p>But I also can consider that this code not from real life.</p>
  
  <pre class="lang-dart prettyprint-override"><code>if(false) {
  }
  </code></pre>
  
  <p>So, how support of only case #1 and lack of support of cases #2, #3, #4, #5 and all other possible can help me finding dead code in Dart Editor?</p>
  
  <p>P.S.</p>
  
  <p>Of course, this is a great feature of Dart Editor, and I do not want to downplay her usefulness, but I still want to know: "Is this possible to make it even more of the greatest that there was little more usefulness?".</p>