mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 00:21:34 +00:00
19 lines
315 B
Plaintext
19 lines
315 B
Plaintext
class Foo {
|
|
class object {
|
|
val baz = Foo()
|
|
}
|
|
}
|
|
|
|
fun test() {
|
|
Foo.<caret>baz
|
|
}
|
|
|
|
|
|
Resolved call:
|
|
|
|
Resulting descriptor: val baz: Foo defined in Foo.<class-object-for-Foo>
|
|
|
|
Explicit receiver kind = DISPATCH_RECEIVER
|
|
Dispatch receiver = Foo {<class-object-for-Foo>}
|
|
Extension receiver = NO_RECEIVER
|