Files
kotlin-fork/compiler/testData/resolvedCalls/invoke/invokeOnClassObject1.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
272 B
Plaintext

class A {
class object {
fun invoke(i: Int) = i
}
}
fun test() = <caret>A(1)
Resolved call:
Resulting descriptor: class object defined in A
Explicit receiver kind = NO_EXPLICIT_RECEIVER
Dispatch receiver = NO_RECEIVER
Extension receiver = NO_RECEIVER