mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Tests start failing after KTIJ-25447, because rangeUntil has more priority than until and now opt-in is not needed for rangeUntil. GitOrigin-RevId: 29b6138dc5f5ca0296aa90b8ccba8dcecab207d8
8 lines
138 B
Kotlin
8 lines
138 B
Kotlin
// WITH_STDLIB
|
|
// COMPILER_ARGUMENTS: -XXLanguage:-RangeUntilOperator
|
|
|
|
fun foo(a: Int) {
|
|
for (i in <caret>0.rangeTo(a - 1)) {
|
|
|
|
}
|
|
} |