mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
instead of `until` Make it suggest only when it's possible (language level is 1.8 at least and OptIn is allowed) Tests are copied from ReplaceRangeToWithUntilInspection. (only closedRange.kt test is changed) ^KTIJ-22372 Fixed GitOrigin-RevId: dded3ea9395ffa9269be94c47545c18048fbe504
9 lines
127 B
Plaintext
9 lines
127 B
Plaintext
// WITH_STDLIB
|
|
// LANGUAGE_VERSION: 1.8
|
|
|
|
@OptIn(ExperimentalStdlibApi::class)
|
|
fun foo(a: Int) {
|
|
for (i in 0..<a) {
|
|
|
|
}
|
|
} |