Files
kotlin-fork/compiler/testData/ir/irText/arrayAugmentedAssignment2.kt
T
Dmitry Petrov c1583c4368 Complex augmented assignment test.
Fix string literal creation for empty string template.
2016-10-18 09:08:10 +03:00

11 lines
166 B
Kotlin
Vendored

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
}