added info about smart casts to diagnostic tests

This commit is contained in:
Svetlana Isakova
2013-12-06 20:12:41 +04:00
parent 00da5fe1fb
commit c30259dfbe
116 changed files with 383 additions and 348 deletions
@@ -12,10 +12,10 @@ class Test {
useInt(<!TYPE_MISMATCH!>foo<!>)
}
if (this.foo != null) {
useInt(foo)
useInt(<!DEBUG_INFO_AUTOCAST!>foo<!>)
}
if (foo != null) {
useInt(this.foo)
useInt(<!DEBUG_INFO_AUTOCAST!>this.foo<!>)
}
}