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

8 lines
154 B
Kotlin
Vendored

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