Files
kotlin-fork/compiler/testData/diagnostics/tests/override/kt12482.fir.kt
T

12 lines
204 B
Kotlin
Vendored

interface A {
fun test(): String = "A"
}
interface B : A {
override fun test(): <!RETURN_TYPE_MISMATCH_ON_OVERRIDE!>Unit<!> = <!RETURN_TYPE_MISMATCH!>"B"<!>
}
open class C : A
class D : C(), B