mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
9 lines
326 B
Plaintext
9 lines
326 B
Plaintext
// "Surround with null check" "true"
|
|
|
|
fun foo(exec: (() -> Unit)?) {
|
|
if (exec != null) {
|
|
exec()
|
|
}
|
|
}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SurroundWithNullCheckFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.SurroundWithNullCheckFixFactory$SurroundWithNullCheckFix |