f71a56e742
Mostly, the semantics for statics/companions has been changed there Fixed test data now is much closer to semantics of old FE
40 lines
593 B
Kotlin
Vendored
40 lines
593 B
Kotlin
Vendored
// !LANGUAGE: -ProhibitVisibilityOfNestedClassifiersFromSupertypesOfCompanion
|
|
|
|
open class A {
|
|
companion object {
|
|
class B
|
|
}
|
|
}
|
|
|
|
class C: A() {
|
|
val b: B = null!!
|
|
|
|
init {
|
|
<!UNRESOLVED_REFERENCE!>B<!>()
|
|
}
|
|
|
|
object O {
|
|
val b: B = null!!
|
|
|
|
init {
|
|
<!UNRESOLVED_REFERENCE!>B<!>()
|
|
}
|
|
}
|
|
|
|
class K {
|
|
val b: B = null!!
|
|
|
|
init {
|
|
<!UNRESOLVED_REFERENCE!>B<!>()
|
|
}
|
|
}
|
|
|
|
inner class I {
|
|
val b: B = null!!
|
|
|
|
init {
|
|
<!UNRESOLVED_REFERENCE!>B<!>()
|
|
}
|
|
}
|
|
}
|