Files
kotlin/compiler/testData/resolvedCalls/objectsAndClassObjects/object.txt
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
242 B
Plaintext

object Foo {
val baz = 42
}
fun test() {
Foo.<caret>baz
}
Resolved call:
Resulting descriptor: val baz: Int defined in Foo
Explicit receiver kind = DISPATCH_RECEIVER
Dispatch receiver = Foo {Foo}
Extension receiver = NO_RECEIVER