Files
2023-09-18 21:12:45 +00:00

12 lines
198 B
Kotlin
Vendored

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>
}