Files
kotlin-fork/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.kt.txt
T
2022-06-16 06:51:34 +00:00

18 lines
247 B
Kotlin
Vendored

class Derived : Base {
constructor() /* primary */ {
super/*Base*/()
/* <init>() */
}
fun setValue(v: Any) {
when {
v is String -> { // BLOCK
<this>(super<Derived>).#value = v /*as String */
}
}
}
}