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

12 lines
166 B
Kotlin
Vendored

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