13 lines
256 B
Kotlin
Vendored
13 lines
256 B
Kotlin
Vendored
// DONT_TARGET_EXACT_BACKEND: WASM
|
|
// WASM_MUTE_REASON: STDLIB_TEXT
|
|
// KJS_WITH_FULL_RUNTIME
|
|
// WITH_RUNTIME
|
|
|
|
open class Base(val bar: String)
|
|
|
|
class Foo(bar: String) : Base(bar) {
|
|
fun something() = bar.toUpperCase()
|
|
}
|
|
|
|
fun box() = Foo("ok").something()
|