[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
+24
-23
@@ -1,23 +1,17 @@
|
||||
class Test1 {
|
||||
init {
|
||||
println()
|
||||
}
|
||||
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
init {
|
||||
println()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Test2 {
|
||||
constructor(x: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val x: Int
|
||||
field = x
|
||||
get
|
||||
@@ -26,6 +20,12 @@ class Test2 {
|
||||
println()
|
||||
}
|
||||
|
||||
constructor(x: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Test3 {
|
||||
@@ -46,40 +46,41 @@ class Test4 {
|
||||
println(message = "1")
|
||||
}
|
||||
|
||||
init {
|
||||
println(message = "2")
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
init {
|
||||
println(message = "2")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Test5 {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
init {
|
||||
println(message = "1")
|
||||
}
|
||||
|
||||
inner class TestInner {
|
||||
init {
|
||||
println(message = "2")
|
||||
}
|
||||
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
init {
|
||||
println(message = "2")
|
||||
}
|
||||
}
|
||||
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user