Files
kotlin-fork/compiler/testData/codegen/bytecodeText/forLoop/primitiveLiteralRange2.kt
T
Mark Punzalan ea9572ad28 Add DefaultProgressionHandler that handles for-loops over
non-specialized progressions, including "step" progressions.

DefaultProgressionHandler uses the "first/last/step" properties of
the progression when building the loop header.
2019-04-04 09:07:19 +02:00

11 lines
134 B
Kotlin
Vendored

fun f(a: Int, b: Int) {
for (i in a..b) {
}
}
// 0 iterator
// 0 getStart
// 0 getEnd
// 0 getFirst
// 0 getLast
// 0 getStep