Files
kotlin-fork/compiler/testData/diagnostics/tests/override/kt12482.fir.kt
T
2020-08-24 11:06:12 +03:00

12 lines
177 B
Kotlin
Vendored

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