mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
20 lines
294 B
Plaintext
Vendored
20 lines
294 B
Plaintext
Vendored
class Foo {
|
|
companion object {
|
|
val baz = Foo()
|
|
}
|
|
}
|
|
|
|
fun test() {
|
|
Foo.<caret>baz
|
|
}
|
|
|
|
|
|
|
|
Resolved call:
|
|
|
|
Resulting descriptor: val baz: Foo defined in Foo.Companion
|
|
|
|
Explicit receiver kind = DISPATCH_RECEIVER
|
|
Dispatch receiver = Foo {Companion}
|
|
Extension receiver = NO_RECEIVER
|