Files
kotlin-fork/compiler/testData/diagnostics/tests/exposed/protectedInProtected.kt
T
2020-04-27 13:00:49 +03:00

14 lines
436 B
Kotlin
Vendored

// FIR_IDENTICAL
// See KT-9540
// all protected should have lower bound that is more permissive than private
// protected and internal should have lower bound that is more permissive than private
open class A {
private interface B
protected open class C {
protected interface D : <!EXPOSED_SUPER_INTERFACE!>B<!>
internal interface E : <!EXPOSED_SUPER_INTERFACE!>B<!>, <!EXPOSED_SUPER_INTERFACE!>D<!>
}
}