Files
kotlin-fork/idea/testData/inspectionsLocal/javaMapForEach/kotlin2.kt
T
2019-03-01 16:15:23 +03:00

8 lines
154 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun test(map: Map<Int, String>) {
map.<caret>forEach {
foo(it)
}
}
fun foo(it: Map.Entry<Int, String>) {}