e6f4d6e6fa
^KT-65406
33 lines
546 B
Kotlin
Vendored
33 lines
546 B
Kotlin
Vendored
value class Test {
|
|
val x: Int
|
|
field = x
|
|
get
|
|
|
|
constructor(x: Int) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
override operator fun equals(other: Any?): Boolean {
|
|
when {
|
|
other !is Test -> return false
|
|
}
|
|
val tmp_0: Test = other as Test
|
|
when {
|
|
EQEQ(arg0 = <this>.#x, arg1 = tmp_0.#x).not() -> return false
|
|
}
|
|
return true
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return <this>.#x.hashCode()
|
|
}
|
|
|
|
override fun toString(): String {
|
|
return "Test(" + "x=" + <this>.#x + ")"
|
|
}
|
|
|
|
}
|
|
|