Fix inheritance from protected members of interfaces

#KT-3029 Fixed
This commit is contained in:
Alexander Udalov
2015-09-09 12:31:20 +03:00
parent bb17724f96
commit a1a2adf523
5 changed files with 86 additions and 4 deletions
@@ -0,0 +1,11 @@
interface Foo {
protected class Bar {
fun box() = "OK"
}
}
class Baz : Foo {
fun box() = Foo.Bar().box()
}
fun box() = Baz().box()