0b647ac358
Split testData into 'classes' and 'expressions'.
11 lines
166 B
Kotlin
Vendored
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
|
|
} |