mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
9 lines
346 B
Plaintext
9 lines
346 B
Plaintext
// "Surround with null check" "true"
|
|
|
|
fun foo(arg: Int?, flag: Boolean) {
|
|
while (flag) if (arg != null) {
|
|
arg.inc()
|
|
}
|
|
}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.SurroundWithNullCheckFixFactory$SurroundWithNullCheckFix |