Files
kotlin-fork/compiler/testData/diagnostics/tests/override/FakeOverrideDifferentDeclarationSignatures.kt
T
2021-04-02 10:24:20 +03:00

13 lines
259 B
Kotlin
Vendored

// FIR_IDENTICAL
interface A {
fun f(): String = "string"
}
open class B {
open fun f(): CharSequence = "charSequence"
}
<!MANY_IMPL_MEMBER_NOT_IMPLEMENTED!>class C<!> : B(), A
val obj: A = <!MANY_IMPL_MEMBER_NOT_IMPLEMENTED!>object<!> : B(), A {}