mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
17 lines
280 B
Plaintext
Vendored
17 lines
280 B
Plaintext
Vendored
class A {
|
|
companion object {
|
|
fun invoke(i: Int) = i
|
|
}
|
|
}
|
|
|
|
fun test() = <caret>A(1)
|
|
|
|
|
|
Resolved call:
|
|
|
|
Resulting descriptor: companion object defined in A
|
|
|
|
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
|
Dispatch receiver = NO_RECEIVER
|
|
Extension receiver = NO_RECEIVER
|