Files
kotlin-fork/compiler/testData/ir/irText/firProblems/kt43342.kt
T
2024-02-16 10:19:38 +00:00

15 lines
367 B
Kotlin
Vendored

// FIR_IDENTICAL
// WITH_STDLIB
// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6
// ^ Map has js specific methods
// IGNORE_BACKEND_K2: JS_IR
open class ControlFlowInfo<K, V>(val map: Map<K, V>): Map<K, V> by map
class StringFlowInfo(map: Map<String, String>): ControlFlowInfo<String, String>(map) {
fun foo(info: StringFlowInfo) {
keys
info.keys
}
}