Files
kotlin-fork/idea/testData/intentions/convertForEachToForLoop/explicitFunctionLiteral.kt
T
2015-04-16 22:00:54 +03:00

6 lines
80 B
Kotlin

// WITH_RUNTIME
fun foo() {
val x = 1..4
<caret>x.forEach({ y -> y })
}