a1a2adf523
#KT-3029 Fixed
16 lines
188 B
Kotlin
Vendored
16 lines
188 B
Kotlin
Vendored
interface A {
|
|
protected fun foo(): String
|
|
|
|
fun box() = foo()
|
|
}
|
|
|
|
interface B : A
|
|
|
|
interface C : A {
|
|
protected override fun foo() = "OK"
|
|
}
|
|
|
|
class D : B, C
|
|
|
|
fun box() = D().box()
|