36 lines
512 B
Kotlin
Vendored
36 lines
512 B
Kotlin
Vendored
class X {
|
|
fun T_X() {}
|
|
}
|
|
|
|
class Y {
|
|
fun T_Y() {}
|
|
}
|
|
|
|
open class A {
|
|
class X {
|
|
fun A_X() {}
|
|
}
|
|
companion object {
|
|
class Y {
|
|
fun A_C_Y() {}
|
|
}
|
|
}
|
|
|
|
init {
|
|
X().A_X()
|
|
X().<!UNRESOLVED_REFERENCE!>T_X<!>()
|
|
|
|
Y().A_C_Y()
|
|
Y().<!UNRESOLVED_REFERENCE!>T_Y<!>()
|
|
}
|
|
}
|
|
|
|
class B: A() {
|
|
init {
|
|
X().A_X()
|
|
X().<!UNRESOLVED_REFERENCE!>T_X<!>()
|
|
|
|
Y().A_C_Y()
|
|
Y().<!UNRESOLVED_REFERENCE!>T_Y<!>()
|
|
}
|
|
} |