[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,26 +1,15 @@
sealed class A : CharSequence {
protected constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
data class B : A, CharSequence {
val c: CharSequence
field = c
get
constructor(c: CharSequence) /* primary */ {
super/*A*/()
/* <init>() */
}
val c: CharSequence
field = c
get
override val length: Int
override get(): Int {
return <this>.#c.<get-length>()
}
override operator fun get(index: Int): Char {
return <this>.#c.get(index = index)
}
@@ -37,14 +26,6 @@ sealed class A : CharSequence {
return B(c = c)
}
override fun toString(): String {
return "B(" + "c=" + <this>.#c + ")"
}
override fun hashCode(): Int {
return <this>.#c.hashCode()
}
override operator fun equals(other: Any?): Boolean {
when {
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
@@ -59,6 +40,26 @@ sealed class A : CharSequence {
return true
}
override fun hashCode(): Int {
return <this>.#c.hashCode()
}
override fun toString(): String {
return "B(" + "c=" + <this>.#c + ")"
}
override val length: Int
override get(): Int {
return <this>.#c.<get-length>()
}
}
protected constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}