mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
17 lines
355 B
Kotlin
17 lines
355 B
Kotlin
// "Replace with safe (?.) call" "true"
|
|
fun test(foo: Foo?) {
|
|
val baz = {
|
|
bar("")
|
|
bar("")
|
|
foo<caret>.s
|
|
}
|
|
}
|
|
|
|
class Foo {
|
|
val s = ""
|
|
}
|
|
|
|
fun bar(s: String) {}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix |