[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
+27
-25
@@ -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*/()
|
||||
/* <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>() {
|
||||
<this>.<set-counter>(<set-?> = 1)
|
||||
@@ -37,17 +18,17 @@ open enum class MyEnum : Enum<MyEnum> {
|
||||
val anObject: <no name provided>
|
||||
field = { // BLOCK
|
||||
local class <no name provided> {
|
||||
init {
|
||||
<this>.<set-counter>(<set-?> = 1)
|
||||
<this>.foo()
|
||||
}
|
||||
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
init {
|
||||
<this>.<set-counter>(<set-?> = 1)
|
||||
<this>.foo()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
<this>.<set-counter>(<set-?> = 1)
|
||||
<this>.foo()
|
||||
@@ -59,13 +40,34 @@ open enum class MyEnum : Enum<MyEnum> {
|
||||
}
|
||||
get
|
||||
|
||||
private constructor() /* primary */ {
|
||||
super/*MyEnum*/()
|
||||
/* <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 */
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user