mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
#KT-39151 Fixed Original commit: 2a36a8acacf35d07100785c1de3d28b0808d646d GitOrigin-RevId: d8998eabd03ab6af04b6be9e3a14ba86a5e06205
11 lines
241 B
Kotlin
11 lines
241 B
Kotlin
// 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) {} |