Files
kotlin-fork/idea/testData/intentions/convertForEachToForLoop/simpleSequence.kt
T
2015-12-14 04:29:21 +03:00

6 lines
100 B
Kotlin
Vendored

// WITH_RUNTIME
fun foo() {
val x = (1..4).asSequence()
x.forEach<caret> { it.equals(1) }
}