[FIR] Mark more calls origin as OPERATOR
This commit is contained in:
committed by
TeamCityServer
parent
0a45b3a50b
commit
07a8ae7e71
@@ -7,7 +7,9 @@ class A {
|
||||
|
||||
fun main() {
|
||||
val a = A()
|
||||
a[1]++
|
||||
a[1] += 3
|
||||
a[1] = a[1] + 3
|
||||
<!OPERATOR_MODIFIER_REQUIRED!>a[1]<!>++
|
||||
//fir prefers plusAssign call if neither get+set nor plusAssign resolverd
|
||||
//hence UNRESOLVED_REFERENCE here
|
||||
a[1] <!UNRESOLVED_REFERENCE!>+=<!> 3
|
||||
<!OPERATOR_MODIFIER_REQUIRED!>a[1]<!> = a[1] + 3
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user