Fix inheritance from protected members of interfaces
#KT-3029 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
interface Foo {
|
||||
protected class Bar {
|
||||
fun box() = "OK"
|
||||
}
|
||||
}
|
||||
|
||||
class Baz : Foo {
|
||||
fun box() = Foo.Bar().box()
|
||||
}
|
||||
|
||||
fun box() = Baz().box()
|
||||
Reference in New Issue
Block a user