Files
kotlin-fork/compiler/testData/diagnostics/tests/duplicateJvmSignature/traitImpl/twoTraits.kt
T

11 lines
135 B
Kotlin

trait T1 {
fun getX() = 1
}
trait T2 {
val x: Int
get() = 1
}
<!CONFLICTING_JVM_DECLARATIONS!>class C : T1, T2<!> {
}