'open' + 'private' and 'abstract' + 'private' are now incompatible for functions and properties #KT-9324 Fixed
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user