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