mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
15 lines
453 B
Kotlin
Vendored
15 lines
453 B
Kotlin
Vendored
class A {
|
|
private companion object {
|
|
class B {
|
|
class C {
|
|
companion object {
|
|
fun foo() {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fun f1() = A.<!INAPPLICABLE_CANDIDATE!>Companion<!>.<!UNRESOLVED_REFERENCE!>B<!>.<!UNRESOLVED_REFERENCE!>C<!>
|
|
|
|
fun f2() = A.<!INAPPLICABLE_CANDIDATE!>Companion<!>.<!UNRESOLVED_REFERENCE!>B<!>.<!UNRESOLVED_REFERENCE!>C<!>.<!UNRESOLVED_REFERENCE!>foo<!>() |