mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
14 lines
321 B
Kotlin
14 lines
321 B
Kotlin
// ERROR: Unresolved reference: javaClass
|
|
// ERROR: Unresolved reference: javaClass
|
|
|
|
open class Base() {
|
|
override fun hashCode(): Int = 0
|
|
fun equals(base: Base?) = false
|
|
}
|
|
|
|
class With<caret>Constructor(x: Int, s: String) : Base() {
|
|
val x: Int = 0
|
|
val s: String = ""
|
|
|
|
override fun hashCode(): Int = 1
|
|
} |