blob: dd343f8ba0ec03ae18642297d6ec640bbc3f80cb [file] [log] [blame]
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
}