mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
13 lines
273 B
Plaintext
13 lines
273 B
Plaintext
// "Wrap with '?.let { ... }' call" "true"
|
|
// WITH_STDLIB
|
|
class Foo(val bar: Bar)
|
|
|
|
class Bar {
|
|
operator fun invoke() {}
|
|
}
|
|
|
|
fun test(foo: Foo?) {
|
|
foo?.bar?.let { it() }
|
|
}
|
|
/* IGNORE_K2 */
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix |