mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
11 lines
283 B
Kotlin
11 lines
283 B
Kotlin
open class Base<T>(t: T) {
|
|
override fun hashCode(): Int = 0
|
|
override fun equals(foo: Any?) = false
|
|
}
|
|
|
|
class With<caret>Constructor(x: Int, s: String) : Base<Int>(3) {
|
|
val x: Int = 0
|
|
val s: String = ""
|
|
|
|
override fun equals(foo: Any?): Boolean = super.equals(foo)
|
|
} |