935355ad2f
#KT-7437 Fixed #KT-7971 Fixed #KT-7051 Fixed #KT-6125 Fixed #KT-6186 Fixed
16 lines
243 B
Kotlin
Vendored
16 lines
243 B
Kotlin
Vendored
open class A {
|
|
protected fun foo() {}
|
|
}
|
|
|
|
class B: A()
|
|
|
|
class C: A() {
|
|
fun bar() {
|
|
A().<!INVISIBLE_MEMBER!>foo<!>()
|
|
B().<!INVISIBLE_MEMBER!>foo<!>()
|
|
}
|
|
}
|
|
|
|
class D {
|
|
fun qux() { B().<!INVISIBLE_MEMBER!>foo<!>() }
|
|
} |