Files
kotlin-fork/compiler/testData/ir/irText/classes/inlineClass.kt.txt
T
2024-02-16 10:19:38 +00:00

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 + ")"
}
}