[Tests] Use stable order for ir/kotlinLike dumps

^KT-65406
This commit is contained in:
Pavel Kunyavskiy
2024-02-05 16:23:41 +01:00
committed by Space Team
parent 0fa42a9c11
commit e6f4d6e6fa
1265 changed files with 43896 additions and 48472 deletions
@@ -1,14 +1,14 @@
class C<T : Any?> {
val t: T
field = t
get
constructor(t: T) /* primary */ {
super/*Any*/()
/* <init>() */
}
val t: T
field = t
get
override fun hashCode(): Int {
return <this>.<get-t>() as Int
}
@@ -16,26 +16,14 @@ class C<T : Any?> {
}
value class IC<TT : Any?> {
constructor(c: C<TT>) /* primary */ {
super/*Any*/()
/* <init>() */
}
val c: C<TT>
field = c
get
fun foo(): Int {
return <this>.<get-c>().hashCode()
}
constructor(c: C<TT>) /* primary */ {
super/*Any*/()
/* <init>() */
override fun toString(): String {
return "IC(" + "c=" + <this>.#c + ")"
}
override fun hashCode(): Int {
return <this>.#c.hashCode()
}
override operator fun equals(other: Any?): Boolean {
@@ -49,6 +37,18 @@ value class IC<TT : Any?> {
return true
}
override fun hashCode(): Int {
return <this>.#c.hashCode()
}
override fun toString(): String {
return "IC(" + "c=" + <this>.#c + ")"
}
fun foo(): Int {
return <this>.<get-c>().hashCode()
}
}
fun box(): String {
@@ -58,3 +58,4 @@ fun box(): String {
}
return "OK"
}