8fa9bf1317
The generated code for the test is:
(before)
$.isTrue(typeof x === 'object' && !!x.is$Hest, (void 0));
$.isFalse(typeof x === 'object' && !!x.is$Hest, (void 0));
(with patch)
$.setRuntimeTypeInfo(x, ({X: 'int'}));
var t0 = $.getRuntimeTypeInfo(x);
$.isTrue(typeof x === 'object' && !!x.is$Hest && typeof t0 === 'object' && t0.X === 'int', (void 0));
var t1 = $.getRuntimeTypeInfo(x);
$.isFalse(typeof x === 'object' && !!x.is$Hest && typeof t1 === 'object' && t1.X === 'String', (void 0));
Review URL: https://chromiumcodereview.appspot.com//10232011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7184 260f80e4-7a28-3924-810f-c04153c831b5