[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
+26
-25
@@ -1,16 +1,38 @@
|
||||
val a: Int
|
||||
field = 0
|
||||
get
|
||||
|
||||
class Z {
|
||||
companion object Companion {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
enum class Enum : Enum<Enum> {
|
||||
A = Enum()
|
||||
|
||||
private constructor() /* primary */ {
|
||||
super/*Enum*/<Enum>()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
A = Enum()
|
||||
fun valueOf(value: String): Enum /* Synthetic body for ENUM_VALUEOF */
|
||||
|
||||
fun values(): Array<Enum> /* Synthetic body for ENUM_VALUES */
|
||||
|
||||
fun valueOf(value: String): Enum /* Synthetic body for ENUM_VALUEOF */
|
||||
|
||||
val entries: EnumEntries<Enum>
|
||||
get(): EnumEntries<Enum> /* Synthetic body for ENUM_ENTRIES */
|
||||
|
||||
@@ -25,28 +47,6 @@ object A {
|
||||
|
||||
}
|
||||
|
||||
val a: Int
|
||||
field = 0
|
||||
get
|
||||
|
||||
class Z {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
companion object Companion {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fun test1(): Enum {
|
||||
return Enum.A
|
||||
}
|
||||
@@ -62,3 +62,4 @@ fun test3(): Int {
|
||||
fun test4(): Companion {
|
||||
return Companion
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user