mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
27 lines
523 B
Plaintext
Vendored
27 lines
523 B
Plaintext
Vendored
interface A {
|
|
fun foo(value : String) : Int = 0
|
|
fun bar() : String = "hello"
|
|
}
|
|
|
|
class C : A {
|
|
override fun bar(): String {
|
|
<selection><caret>return super.bar()</selection>
|
|
}
|
|
|
|
override fun equals(other: Any?): Boolean {
|
|
return super.equals(other)
|
|
}
|
|
|
|
override fun foo(value: String): Int {
|
|
return super.foo(value)
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return super.hashCode()
|
|
}
|
|
|
|
override fun toString(): String {
|
|
return super.toString()
|
|
}
|
|
}
|