Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/protectedVisibility/generic.kt
T

11 lines
165 B
Kotlin
Vendored

// FIR_IDENTICAL
abstract class Parent<F> {
protected fun foo() {}
}
class Derived<E> : Parent<E>() {
fun bar(x: Derived<String>) {
x.foo()
}
}