Files
kotlin-fork/compiler/testData/diagnostics/tests/delegation/kt8154.kt
T

13 lines
203 B
Kotlin
Vendored

// FIR_IDENTICAL
interface A<T> {
fun foo()
}
interface B<T> : A<T> {
fun bar()
}
class BImpl<T>(a: A<T>) : B<T>, A<T> by a {
override fun bar() { throw UnsupportedOperationException() }
}