[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,43 +1,70 @@
object X1 {
class B {
var s: Int
field = s
get
set
constructor(s: Int = 0) /* primary */ {
super/*Any*/()
/* <init>() */
}
}
object Host {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
operator fun B.plusAssign(b: B) {
<this>.<set-s>(<set-?> = <this>.<get-s>().plus(other = b.<get-s>()))
}
}
object X1 {
var x1: Int
field = 0
get
set
object X2 {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
var x2: Int
field = 0
get
set
object X3 {
var x3: Int
field = 0
get
set
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
var x3: Int
field = 0
get
set
}
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
fun test1(a: IntArray) {
@@ -71,33 +98,7 @@ fun test2() {
} /*~> Unit */
}
class B {
constructor(s: Int = 0) /* primary */ {
super/*Any*/()
/* <init>() */
}
var s: Int
field = s
get
set
}
object Host {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
operator fun B.plusAssign(b: B) {
<this>.<set-s>(<set-?> = <this>.<get-s>().plus(other = b.<get-s>()))
}
}
fun Host.test3(v: B) {
(<this>, v).plusAssign(b = B(s = 1000))
}