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

8 lines
154 B
Kotlin
Vendored

interface T {
fun getX() = 1
}
class <!CONFLICTING_JVM_DECLARATIONS!>C<!> : T {
val x: Int
<!CONFLICTING_JVM_DECLARATIONS!>get()<!> = 1
}