Files
kotlin-fork/idea/testData/inspectionsLocal/javaMapForEach/notSingleArgument.kt
T
2020-06-01 21:42:02 +09:00

11 lines
241 B
Kotlin
Vendored

// PROBLEM: none
// RUNTIME_WITH_FULL_JDK
import java.util.concurrent.ConcurrentHashMap
fun test(map: ConcurrentHashMap<Int, String>) {
map.<caret>forEach(1) { key, value ->
foo(key, value)
}
}
fun foo(i: Int, s: String) {}