Added tests on resolved calls

for annotation entry, delegator to super call, array access
This commit is contained in:
Svetlana Isakova
2014-07-10 17:53:13 +04:00
parent 22624186f6
commit eca2c7beea
8 changed files with 81 additions and 1 deletions
@@ -0,0 +1,16 @@
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