Files
kotlin-fork/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.fir.kt.txt
T
2020-11-26 00:15:13 +03:00

17 lines
230 B
Plaintext
Vendored

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