[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
+34 -33
View File
@@ -1,10 +1,4 @@
class C {
constructor(x: Int, y: Int, z: Int = 1) /* primary */ {
super/*Any*/()
/* <init>() */
}
val y: Int
field = y
get
@@ -14,35 +8,10 @@ class C {
get
set
constructor() {
this/*C*/(x = 0, y = 0, z = 0)
}
val property: Int
field = 0
get
val propertyWithGet: Int
get(): Int {
return 42
}
var propertyWithGetAndSet: Int
get(): Int {
return <this>.<get-z>()
}
set(value: Int) {
<this>.<set-z>(<set-?> = value)
}
fun function() {
println(message = "1")
}
fun Int.memberExtensionFunction() {
println(message = "2")
}
class NestedClass {
constructor() /* primary */ {
super/*Any*/()
@@ -61,12 +30,12 @@ class C {
}
interface NestedInterface {
abstract fun foo()
fun bar() {
return <this>.foo()
}
abstract fun foo()
}
companion object Companion {
@@ -78,4 +47,36 @@ class C {
}
constructor() {
this/*C*/(x = 0, y = 0, z = 0)
}
constructor(x: Int, y: Int, z: Int = 1) /* primary */ {
super/*Any*/()
/* <init>() */
}
fun function() {
println(message = "1")
}
fun Int.memberExtensionFunction() {
println(message = "2")
}
val propertyWithGet: Int
get(): Int {
return 42
}
var propertyWithGetAndSet: Int
get(): Int {
return <this>.<get-z>()
}
set(value: Int) {
<this>.<set-z>(<set-?> = value)
}
}