Files
kotlin-fork/compiler/testData/resolvedCalls/differentCallElements/simpleArrayAccess.txt
T
Svetlana Isakova eca2c7beea Added tests on resolved calls
for annotation entry, delegator to super call, array access
2014-07-30 17:07:10 +04:00

17 lines
271 B
Plaintext

fun foo(array: Array<Int>) {
array<caret>[1]
}
Resolved call:
Resulting descriptor: fun get(index: Int): Int
Explicit receiver kind = THIS_OBJECT
This object = array {Array<Int>}
Receiver argument = NO_RECEIVER
Value arguments mapping:
SUCCESS index : Int = 1