FIR checker: introduce NO_(GET|SET)_METHOD
Besides introducing new diagnostics, this commit unifies source usages for array accesses in PSI & LT.
This commit is contained in:
committed by
Mikhail Glukhikh
parent
651fd4ad9f
commit
e1c80ac75c
+1
-1
@@ -1,7 +1,7 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
fun test(): Array<Int> {
|
||||
[1, 2]
|
||||
<!UNRESOLVED_REFERENCE!>[1, 2][0]<!>
|
||||
[1, 2]<!NO_GET_METHOD!>[0]<!>
|
||||
[1, 2].<!UNRESOLVED_REFERENCE!>get<!>(0)
|
||||
|
||||
foo([""])
|
||||
|
||||
Reference in New Issue
Block a user