[FIR] Fix more tests because of modifier usage in resolution
This commit is contained in:
committed by
TeamCityServer
parent
07a8ae7e71
commit
419aa65381
Vendored
-1
@@ -99,7 +99,6 @@ public class A extends AImpl implements List<String> {
|
||||
|
||||
fun main() {
|
||||
val x = X()
|
||||
//todo get only one candidate - AImpl.get, no kotlin.collection.List for some reason
|
||||
<!OPERATOR_MODIFIER_REQUIRED!>x[0]<!>
|
||||
x.size
|
||||
x.remove("")
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user