41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
8 lines
168 B
Kotlin
8 lines
168 B
Kotlin
open class Base(val bar: String)
|
|
|
|
class Foo(bar: String) : Base(bar) {
|
|
fun something() = (bar as java.lang.String).toUpperCase()
|
|
}
|
|
|
|
fun box() = Foo("ok").something()
|