mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
Do not call getProgressionFinalElement, use new progression properties 'first' and 'last' instead.
10 lines
115 B
Kotlin
Vendored
10 lines
115 B
Kotlin
Vendored
fun f(r: IntRange) {
|
|
for (i in r) {
|
|
}
|
|
}
|
|
|
|
// 0 iterator
|
|
// 0 getStart
|
|
// 0 getEnd
|
|
// 1 getFirst
|
|
// 1 getLast |