b06b3ab4c4
#KT-4002 Fixed
41 lines
918 B
Plaintext
41 lines
918 B
Plaintext
open class A() {
|
|
protected open fun protectedFun() { }
|
|
internal open fun internalFun() {}
|
|
public open fun publicFun() {}
|
|
}
|
|
|
|
trait B {
|
|
protected open val protectedProperty : Int
|
|
internal open val internalProperty : Int
|
|
public open val publicProperty : Int
|
|
}
|
|
|
|
class C : A(), B {
|
|
override fun equals(other: Any?): Boolean {
|
|
<selection><caret>return super<A>.equals(other)</selection>
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return super<A>.hashCode()
|
|
}
|
|
|
|
override fun internalFun() {
|
|
super<A>.internalFun()
|
|
}
|
|
|
|
override val internalProperty: Int = 0
|
|
override fun protectedFun() {
|
|
super<A>.protectedFun()
|
|
}
|
|
|
|
override val protectedProperty: Int = 0
|
|
override fun publicFun() {
|
|
super<A>.publicFun()
|
|
}
|
|
|
|
override val publicProperty: Int = 0
|
|
override fun toString(): String {
|
|
return super<A>.toString()
|
|
}
|
|
}
|