Files
kotlin-fork/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.kt
T
2023-12-20 17:15:40 +00:00

12 lines
183 B
Kotlin
Vendored

// FIR_IDENTICAL
interface IA {
operator fun get(index: String): Int
}
interface IB {
operator fun IA.set(index: String, value: Int)
}
fun IB.test(a: IA) {
a[""] += 42
}