Files
kotlin-fork/compiler/testData/codegen/box/properties/kt1398.kt
T
2020-11-09 16:04:43 +03:00

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()