099ce93ec3
Unfortunately we still often need it in Dart, as we always need it in Java. Type promotion does not work for "if (name is Type)" if "name" is a field, an expression or "name" is modified _anywhere_ in the function. R=paulberry@google.com, brianwilkerson@google.com BUG= Review URL: https://codereview.chromium.org//618833003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40824 260f80e4-7a28-3924-810f-c04153c831b5