[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,31 +1,12 @@
open enum class MyEnum : Enum<MyEnum> {
private constructor() /* primary */ {
super/*Enum*/<MyEnum>()
/* <init>() */
}
Z = Z()
private enum entry class Z : MyEnum {
private constructor() /* primary */ {
super/*MyEnum*/() /*~> Unit */
/* <init>() */
}
var counter: Int
field = 0
get
set
fun foo() {
}
fun bar() {
<this>.<set-counter>(<set-?> = 1)
<this>.foo()
}
val aLambda: Function0<Unit>
field = local fun <anonymous>() {
MyEnum.Z.<set-counter>(<set-?> = 1)
@@ -37,17 +18,17 @@ open enum class MyEnum : Enum<MyEnum> {
val anObject: Any
field = { // BLOCK
local class <no name provided> {
init {
MyEnum.Z.<set-counter>(<set-?> = 1)
MyEnum.Z.foo()
}
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
init {
MyEnum.Z.<set-counter>(<set-?> = 1)
MyEnum.Z.foo()
}
fun test() {
MyEnum.Z.<set-counter>(<set-?> = 1)
MyEnum.Z.foo()
@@ -59,13 +40,34 @@ open enum class MyEnum : Enum<MyEnum> {
}
get
private constructor() /* primary */ {
super/*MyEnum*/() /*~> Unit */
/* <init>() */
}
fun bar() {
<this>.<set-counter>(<set-?> = 1)
<this>.foo()
}
fun foo() {
}
}
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
private constructor() /* primary */ {
super/*Enum*/<MyEnum>()
/* <init>() */
}
fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */
fun values(): Array<MyEnum> /* Synthetic body for ENUM_VALUES */
val entries: EnumEntries<MyEnum>
get(): EnumEntries<MyEnum> /* Synthetic body for ENUM_ENTRIES */
}