Files
kotlin-fork/compiler/testData/ir/irText/firProblems/putIfAbsent.kt.txt
T

18 lines
257 B
Plaintext
Vendored

class Owner {
constructor() /* primary */ {
super/*Any*/()
/* InstanceInitializerCall */
}
fun <T : Any?> foo(x: T, y: T) {
val map: MutableMap<T, T> = mutableMapOf<T, T>()
map.putIfAbsent(p0 = x, p1 = y) /*~> Unit */
}
}