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