removed AutoCastReceiver
check subtype for receiver by AutoCastUtils.isSubTypeByAutoCast directly #KT-4403 Fixed #KT-4415 Fixed
This commit is contained in:
@@ -7,8 +7,8 @@ class Sub(str : String) : Super(str) {}
|
||||
|
||||
fun foo(sup : Super, sub : Sub) {
|
||||
if (sup is Sub) {
|
||||
println("${<!DEBUG_INFO_AUTOCAST!>sup<!>.property}")
|
||||
println(<!DEBUG_INFO_AUTOCAST!>sup<!>.property)
|
||||
println("${sup.property}")
|
||||
println(sup.property)
|
||||
}
|
||||
println("${sub.property}")
|
||||
println(sub.property)
|
||||
|
||||
Reference in New Issue
Block a user