'open' + 'private' and 'abstract' + 'private' are now incompatible for functions and properties #KT-9324 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-09-28 13:29:06 +03:00
parent 7cf2840fe5
commit 4e91f2ffb7
7 changed files with 30 additions and 36 deletions
@@ -1,7 +0,0 @@
open class A<out T> {
private open fun foo(t: T) {}
}
class B : A<String>() {
<caret>
}
@@ -1,17 +0,0 @@
open class A<out T> {
private open fun foo(t: T) {}
}
class B : A<String>() {
override fun equals(other: Any?): Boolean {
<selection><caret>return super.equals(other)</selection>
}
override fun hashCode(): Int {
return super.hashCode()
}
override fun toString(): String {
return super.toString()
}
}