KT-8990: private member can't be overridden, even if it is visible in the current context

This commit is contained in:
Dmitry Petrov
2016-05-19 17:41:06 +03:00
parent 15c47ead97
commit dd12c018ca
5 changed files with 52 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
open class A {
private fun foo() {}
inner class B : A() {
private fun foo() {}
}
}
class C : A() {
private fun foo() {}
}