Files
Vladimir Dolzhenko 1697b4cdc6 [kotlin] Use IGNORE_K2 instead of IGNORE_FIR
GitOrigin-RevId: e380b6203a00315f718b7e08d1048ec284dce1a3
2023-08-30 11:02:38 +00:00

18 lines
406 B
Plaintext

// "Add '@loop' to continue" "true"
// WITH_STDLIB
// LANGUAGE_VERSION: 1.3
fun foo(chars: CharArray) {
val length = chars.size
var pos = 0
loop@ while (pos < length) {
val c = chars[pos]
when (c) {
'\n' -> continue@loop
}
pos++
}
}
/* IGNORE_K2 */
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix