Files
kotlin-fork/compiler/testData/diagnostics/tests/override/ConflictingFunctionSignatureFromSuperclass.jet
T
Stepan Koltsov ca8cf6cb49 missing error report on incompatible declaration
===
open class Aaaa() {
    fun bb() = 1
}

class Bbbb() : Aaaa() {
    fun <T> bb() = 1
}
===
2012-02-19 22:02:33 +04:00

8 lines
119 B
Plaintext

open class Aaa() {
fun foo() = 1
}
open class Bbb() : Aaa() {
<!CONFLICTING_OVERLOADS!>fun <T> foo()<!> = 2
}