33e6a85a2d
We exclude testData pattern from copyright scope
12 lines
198 B
Kotlin
Vendored
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>++
|
|
} |