[FIR] Fix more tests because of modifier usage in resolution

This commit is contained in:
Andrey Zinovyev
2021-05-19 11:59:53 +03:00
committed by TeamCityServer
parent 07a8ae7e71
commit 419aa65381
15 changed files with 21 additions and 24 deletions
@@ -8,8 +8,6 @@ class A {
fun main() {
val a = A()
<!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
}