[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,3 +1,18 @@
interface IFoo {
val A.foo: B
get(): B {
return B
}
}
interface IInvoke {
operator fun B.invoke(): Int {
return 42
}
}
object A {
private constructor() /* primary */ {
super/*Any*/()
@@ -16,21 +31,6 @@ object B {
}
interface IFoo {
val A.foo: B
get(): B {
return B
}
}
interface IInvoke {
operator fun B.invoke(): Int {
return 42
}
}
fun test(fooImpl: IFoo, invokeImpl: IInvoke) {
with<A, Int>(receiver = A, block = local fun A.<anonymous>(): Int {
return with<IFoo, Int>(receiver = fooImpl, block = local fun IFoo.<anonymous>(): Int {
@@ -43,3 +43,4 @@ fun test(fooImpl: IFoo, invokeImpl: IInvoke) {
}
) /*~> Unit */
}