3b943706d8
^KT-50864 fixed
6 lines
210 B
Kotlin
6 lines
210 B
Kotlin
// WITH_STDLIB
|
|
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtCallExpression
|
|
|
|
fun foo(x: MutableMap<Int, MutableList<String>>) {
|
|
x.getOrPut(1) { <expr>mutableListOf<String>()</expr> } += "str"
|
|
} |