Files
kotlin-fork/compiler/testData/diagnostics/tests/override/FakeOverrideDifferentDeclarationSignatures.kt
T
2014-05-22 19:32:10 +04:00

12 lines
238 B
Kotlin

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