[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,16 +1,3 @@
interface Visitor {
abstract fun visit()
fun visitArray(): Visitor? {
return null
}
fun visitAnnotation(): Visitor? {
return null
}
}
class AnnotationLoader {
constructor() /* primary */ {
super/*Any*/()
@@ -27,9 +14,40 @@ class AnnotationLoader {
}
private fun foo() {
}
override fun visit() {
}
override fun visitAnnotation(): Visitor? {
val visitor: Visitor = CHECK_NOT_NULL<Visitor>(arg0 = <this>.loadAnnotation())
return { // BLOCK
local class <no name provided> : Visitor {
private /* final field */ val $$delegate_0: Visitor = visitor
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
override fun visitAnnotation(): Visitor? {
return <this>.#$$delegate_0.visitAnnotation()
}
override fun visitArray(): Visitor? {
return <this>.#$$delegate_0.visitArray()
}
override fun visit() {
}
}
<no name provided>()
}
}
override fun visitArray(): Visitor? {
return { // BLOCK
local class <no name provided> : Visitor {
@@ -49,37 +67,6 @@ class AnnotationLoader {
}
}
override fun visitAnnotation(): Visitor? {
val visitor: Visitor = CHECK_NOT_NULL<Visitor>(arg0 = <this>.loadAnnotation())
return { // BLOCK
local class <no name provided> : Visitor {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
private /* final field */ val $$delegate_0: Visitor = visitor
override fun visitAnnotation(): Visitor? {
return <this>.#$$delegate_0.visitAnnotation()
}
override fun visitArray(): Visitor? {
return <this>.#$$delegate_0.visitArray()
}
override fun visit() {
}
}
<no name provided>()
}
}
private fun foo() {
}
}
<no name provided>()
@@ -87,3 +74,17 @@ class AnnotationLoader {
}
}
interface Visitor {
abstract fun visit()
fun visitAnnotation(): Visitor? {
return null
}
fun visitArray(): Visitor? {
return null
}
}