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

21 lines
266 B
Plaintext
Vendored

class Derived : Base {
constructor() /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
fun setValue(v: Any) {
when {
v is String -> { // BLOCK
#value = v /*as String */
}
}
}
}