Rename: auto cast -> smart cast
This commit is contained in:
@@ -5,10 +5,10 @@ fun foo() {
|
||||
val x: Int? = null
|
||||
|
||||
bar(<!UNSAFE_CALL!>-<!>x)
|
||||
if (x != null) bar(-<!DEBUG_INFO_AUTOCAST!>x<!>)
|
||||
if (x != null) bar(-<!DEBUG_INFO_SMARTCAST!>x<!>)
|
||||
bar(<!UNSAFE_CALL!>-<!>x)
|
||||
|
||||
val b: Boolean? = null
|
||||
baz(<!UNSAFE_CALL!>!<!>b)
|
||||
if (b != null) baz(!<!DEBUG_INFO_AUTOCAST!>b<!>)
|
||||
if (b != null) baz(!<!DEBUG_INFO_SMARTCAST!>b<!>)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user