33e6a85a2d
We exclude testData pattern from copyright scope
6 lines
210 B
Kotlin
Vendored
6 lines
210 B
Kotlin
Vendored
// 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"
|
|
} |