Files
kotlin-fork/compiler/testData/diagnostics/tests/override/DuplicateMethod.kt
T
Andrey Breslav c9e9175a88 EA-37399 - ISE: OverrideResolver.findInvisibleOverriddenDescriptor
Each of the duplicated methods in the subclass should get the same set of overridden descriptors
2012-09-18 22:01:39 +04:00

8 lines
167 B
Kotlin

trait Some {
fun test()
}
class SomeImpl : Some {
<!CONFLICTING_OVERLOADS!>override fun test()<!> {}
<!CONFLICTING_OVERLOADS!>override fun test()<!> {}
}