Files
kotlin-fork/compiler/testData/diagnostics/tests/override/FakeOverrideDifferentDeclarationSignatures.kt
T
2015-05-12 19:43:17 +02:00

12 lines
242 B
Kotlin
Vendored

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 {}