Files
kotlin/compiler/testData/codegen/bytecodeText/forLoop/primitiveLiteralRange2.kt
Ilya Gorbunov 96f301fdec Support only integer primitive ranges and progressions in optimized for loop codegen.
Do not call getProgressionFinalElement, use new progression properties 'first' and 'last' instead.
2015-11-13 20:58:18 +03:00

10 lines
121 B
Kotlin
Vendored

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