Files
kotlin-fork/idea/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt.after
T
2021-06-03 20:17:58 +03:00

12 lines
167 B
Plaintext
Vendored

// "Replace with safe (?.) call" "true"
class A {
operator fun plus(other: A) = this
}
fun foo(b: A) {
var a: A? = A()
a = a?.plus(b)
}
/* IGNORE_FIR */