Rename: auto cast -> smart cast
This commit is contained in:
@@ -11,11 +11,11 @@ class Derived : Base() {
|
||||
super.bar(<!TYPE_MISMATCH!>x<!>)
|
||||
this.baz(<!TYPE_MISMATCH!>x<!>)
|
||||
if (x == null) return
|
||||
super.bar(<!DEBUG_INFO_AUTOCAST!>x<!>)
|
||||
this.baz(<!DEBUG_INFO_AUTOCAST!>x<!>)
|
||||
super.bar(<!DEBUG_INFO_SMARTCAST!>x<!>)
|
||||
this.baz(<!DEBUG_INFO_SMARTCAST!>x<!>)
|
||||
|
||||
val y: Int? = null
|
||||
if (y != null) super.bar(this.baz(<!DEBUG_INFO_AUTOCAST!>y<!>))
|
||||
if (y != null) super.bar(this.baz(<!DEBUG_INFO_SMARTCAST!>y<!>))
|
||||
else this.baz(super.bar(<!TYPE_MISMATCH!>y<!>))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user