d1531f9cdd
assign and operator candidates are unsuccessful.
9 lines
148 B
Plaintext
Vendored
9 lines
148 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)
|
|
} |