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

10 lines
172 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
class Owner {
fun <T> foo(x: T, y: T) {
val map = mutableMapOf<T, T>()
map.putIfAbsent(x, y)
}
}