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:
Ilya Gorbunov
2015-11-13 05:29:55 +03:00
parent 5d4e72ed7f
commit 96f301fdec
6 changed files with 44 additions and 113 deletions
@@ -4,5 +4,7 @@ fun f(r: IntRange) {
}
// 0 iterator
// 1 getStart
// 1 getEnd
// 0 getStart
// 0 getEnd
// 1 getFirst
// 1 getLast