KT-8990: private member can't be overridden, even if it is visible in the current context
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
open class A {
|
||||
private fun foo() {}
|
||||
|
||||
inner class B : A() {
|
||||
private fun foo() {}
|
||||
}
|
||||
}
|
||||
|
||||
class C : A() {
|
||||
private fun foo() {}
|
||||
}
|
||||
Reference in New Issue
Block a user