FIR: Choose a resolved candidate for augmented assignment when both
assign and operator candidates are unsuccessful.
This commit is contained in:
committed by
teamcityserver
parent
32bb64a225
commit
d1531f9cdd
@@ -7,7 +7,7 @@ fun foo(): String {
|
||||
var t: String? = "y"
|
||||
if (t == null) t = "x"
|
||||
var x: Int? = null
|
||||
if (x == null) x <!UNRESOLVED_REFERENCE!>+=<!> null
|
||||
if (x == null) x <!UNSAFE_OPERATOR_CALL!>+=<!> null
|
||||
return t + s
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user