mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
14 lines
273 B
Kotlin
14 lines
273 B
Kotlin
// "Wrap with '?.let { ... }' call" "true"
|
|
// WITH_STDLIB
|
|
|
|
interface A
|
|
|
|
operator fun A?.plus(a: A?): A? = this
|
|
|
|
fun test(a1: A, a2: A) {
|
|
notNull(<caret>a1 + a2)
|
|
}
|
|
|
|
fun notNull(t: A): A = t
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix |