Files
kotlin-fork/analysis/low-level-api-fir/testdata/getOrBuildFir/calls/incWithArrayAccessConvention_set.kt
T
2022-10-05 16:22:22 +02:00

12 lines
198 B
Kotlin

interface A {
operator fun inc(): A
}
interface MyMap<K, V> {
operator fun get(k: K): V
operator fun set(k: K, v: V): Unit
}
fun test(m: MyMap<String, A>) {
<expr>m["a"]</expr>++
}