Files
kotlin-fork/compiler/testData/resolvedCalls/differentCallElements/simpleArrayAccess.txt
T
Alexander Udalov 3a8ad45dec Append newline to EOF for .txt test data files
Reverts and fixes 102f0d3
2014-10-21 03:18:27 +04:00

17 lines
308 B
Plaintext

fun foo(array: Array<Int>) {
array<caret>[1]
}
Resolved call:
Resulting descriptor: fun get(index: Int): Int defined in kotlin.Array
Explicit receiver kind = DISPATCH_RECEIVER
Dispatch receiver = array {Array<Int>}
Extension receiver = NO_RECEIVER
Value arguments mapping:
SUCCESS index : Int = 1