Files
kotlin-fork/compiler/testData/ir/irText/firProblems/putIfAbsent.kt
T
2020-08-31 14:31:57 +03:00

9 lines
149 B
Kotlin
Vendored

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