added info about smart casts to diagnostic tests
This commit is contained in:
@@ -4,6 +4,6 @@ fun foo() {
|
||||
val x: Int? = null
|
||||
|
||||
if (x == null) throw bar(<!TYPE_MISMATCH!>x<!>)
|
||||
throw bar(x)
|
||||
<!UNREACHABLE_CODE!>throw bar(x)<!>
|
||||
throw bar(<!DEBUG_INFO_AUTOCAST!>x<!>)
|
||||
<!UNREACHABLE_CODE!>throw bar(<!DEBUG_INFO_AUTOCAST!>x<!>)<!>
|
||||
}
|
||||
Reference in New Issue
Block a user