Files
kotlin-fork/compiler/testData/resolvedCalls/differentCallElements/simpleArrayAccess.txt
T
Victor Petukhov ee728b6902 Use the new type inference for top-level callable reference resolution
^KT-47797 Fixed
^KT-47987 Fixed
^KT-45034 Fixed
^KT-48446 Fixed
^KT-13934 Fixed
2021-09-27 16:12:27 +03:00

17 lines
317 B
Plaintext
Vendored

fun foo(array: Array<Int>) {
array<caret>[1]
}
Resolved call:
Resulting descriptor: operator 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