Files
kotlin-fork/compiler/testData/diagnostics/tests/override/DuplicateMethod.kt
T
Jinseong Jeon f1d8a6e5d1 FIR checker: introduce DECLARATION_SIGNATURE_OR_DEFAULT positioning strategy
and fix CONFLICTING_OVERLOADS to use it
2021-01-21 16:06:09 +03:00

9 lines
188 B
Kotlin
Vendored

// FIR_IDENTICAL
interface Some {
fun test()
}
class SomeImpl : Some {
<!CONFLICTING_OVERLOADS!>override fun test()<!> {}
<!CONFLICTING_OVERLOADS!>override fun test()<!> {}
}