mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
Do not call getProgressionFinalElement, use new progression properties 'first' and 'last' instead.
10 lines
121 B
Kotlin
Vendored
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 |