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
@@ -2,11 +2,11 @@ fun test(x: Any?) {
if (x !is String) return
class C {
val v = x.length
val v = <!DEBUG_INFO_AUTOCAST!>x<!>.length
val vGet: Int
get() = x.length
get() = <!DEBUG_INFO_AUTOCAST!>x<!>.length
val s: String = x
val s: String = <!DEBUG_INFO_AUTOCAST!>x<!>
}
}