[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,58 +1,9 @@
object Z {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
var counter: Int
field = 0
get
set
fun foo() {
}
fun bar() {
<this>.<set-counter>(<set-?> = 1)
<this>.foo()
Z.<set-counter>(<set-?> = 1)
Z.foo()
}
class Nested {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
init {
Z.<set-counter>(<set-?> = 1)
Z.foo()
Z.<set-counter>(<set-?> = 1)
Z.foo()
}
fun test() {
Z.<set-counter>(<set-?> = 1)
Z.foo()
Z.<set-counter>(<set-?> = 1)
Z.foo()
}
}
fun aFun() {
withLambda(f = local fun <anonymous>() {
Z.<set-counter>(<set-?> = 1)
Z.foo()
Z.<set-counter>(<set-?> = 1)
Z.foo()
}
)
}
val aLambda: Function0<Unit>
field = local fun <anonymous>() {
Z.<set-counter>(<set-?> = 1)
@@ -66,12 +17,6 @@ object Z {
val anObject: Any
field = { // BLOCK
local class <no name provided> {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
init {
Z.<set-counter>(<set-?> = 1)
Z.foo()
@@ -79,6 +24,12 @@ object Z {
Z.foo()
}
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
fun test() {
Z.<set-counter>(<set-?> = 1)
Z.foo()
@@ -92,6 +43,55 @@ object Z {
}
get
class Nested {
init {
Z.<set-counter>(<set-?> = 1)
Z.foo()
Z.<set-counter>(<set-?> = 1)
Z.foo()
}
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
fun test() {
Z.<set-counter>(<set-?> = 1)
Z.foo()
Z.<set-counter>(<set-?> = 1)
Z.foo()
}
}
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
fun aFun() {
withLambda(f = local fun <anonymous>() {
Z.<set-counter>(<set-?> = 1)
Z.foo()
Z.<set-counter>(<set-?> = 1)
Z.foo()
}
)
}
fun bar() {
<this>.<set-counter>(<set-?> = 1)
<this>.foo()
Z.<set-counter>(<set-?> = 1)
Z.foo()
}
fun foo() {
}
}
fun Z.test() {