10 lines
162 B
Kotlin
Vendored
10 lines
162 B
Kotlin
Vendored
// WITH_STDLIB
|
|
|
|
open class Base(val bar: String)
|
|
|
|
class Foo(bar: String) : Base(bar) {
|
|
fun something() = bar.toUpperCase()
|
|
}
|
|
|
|
fun box() = Foo("ok").something()
|