mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
12 lines
414 B
Plaintext
12 lines
414 B
Plaintext
// "Wrap with '?.let { ... }' call" "true"
|
|
// WITH_STDLIB
|
|
|
|
fun f(s: String, action: (String.() -> Unit)?) {
|
|
action?.let { s.foo().bar().it() }
|
|
}
|
|
|
|
fun String.foo() = ""
|
|
|
|
fun String.bar() = ""
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.WrapWithSafeLetCallFixFactories$WrapWithSafeLetCallModCommandAction |