Support only integer primitive ranges and progressions in optimized for loop codegen.
Do not call getProgressionFinalElement, use new progression properties 'first' and 'last' instead.
This commit is contained in:
@@ -4,5 +4,7 @@ fun f(r: IntRange) {
|
||||
}
|
||||
|
||||
// 0 iterator
|
||||
// 1 getStart
|
||||
// 1 getEnd
|
||||
// 0 getStart
|
||||
// 0 getEnd
|
||||
// 1 getFirst
|
||||
// 1 getLast
|
||||
Reference in New Issue
Block a user