mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
13 lines
309 B
Kotlin
13 lines
309 B
Kotlin
// "Replace with safe (?.) call" "true"
|
|
// WITH_STDLIB
|
|
|
|
fun main() {
|
|
var a = foo()<caret>.length ?: 0
|
|
}
|
|
|
|
fun foo(): String? {
|
|
return ""
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithSafeCallFix |