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.
This commit is contained in:
committed by
max-kammerer
parent
301ac90770
commit
ea9572ad28
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
fun Int.until(other: Int) = this..other - 1
|
||||
fun foo() {
|
||||
val range = 1 until 2
|
||||
|
||||
Reference in New Issue
Block a user