missing error report on incompatible declaration

===
open class Aaaa() {
    fun bb() = 1
}

class Bbbb() : Aaaa() {
    fun <T> bb() = 1
}
===
This commit is contained in:
Stepan Koltsov
2012-02-19 22:02:33 +04:00
parent 7acc4fe957
commit ca8cf6cb49
10 changed files with 105 additions and 47 deletions
@@ -5,5 +5,5 @@ abstract class MyAbstractClass<T> {
}
abstract class MyLegalAbstractClass2<T>(t : T) : MyAbstractClass<Int>() {
val <R> <!REDECLARATION!>pr<!> : T = t
<!CONFLICTING_OVERLOADS!>val <R> <!REDECLARATION!>pr<!> : T = t<!>
}