Files
Roman Efremov 1672fd69c6 [inspection] Fix tests in ReplaceWithUntil inspection
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
2023-05-17 11:59:13 +00:00

8 lines
130 B
Kotlin

// WITH_STDLIB
// COMPILER_ARGUMENTS: -XXLanguage:-RangeUntilOperator
fun foo(a: Int) {
for (i in 0..<caret>a - 1) {
}
}