Files
kotlin-fork/compiler/testData/resolvedCalls/differentCallElements/annotationCall.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

16 lines
277 B
Plaintext

annotation class MyA(val i: Int)
<caret>MyA(1) fun foo() {}
Resolved call:
Resulting descriptor: constructor MyA(i: Int)
Explicit receiver kind = NO_EXPLICIT_RECEIVER
This object = NO_RECEIVER
Receiver argument = NO_RECEIVER
Value arguments mapping:
SUCCESS i : Int = 1