Files
kotlin-fork/idea/testData/quickfix/replaceInfixOrOperatorCall/augmentedAssignmentNotAvailable.kt.after
T

10 lines
149 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)
}