[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,6 +1,3 @@
fun use(f: @ExtensionFunctionType Function2<C, Int, Unit>) {
}
class C {
constructor() /* primary */ {
super/*Any*/()
@@ -10,22 +7,22 @@ class C {
}
fun C.extensionVararg(i: Int, vararg s: String) {
fun C.extensionBoth(i: Int, s: String = "", vararg t: String) {
}
fun C.extensionDefault(i: Int, s: String = "") {
}
fun C.extensionBoth(i: Int, s: String = "", vararg t: String) {
fun C.extensionVararg(i: Int, vararg s: String) {
}
fun testExtensionVararg() {
fun testExtensionBoth() {
use(f = { // BLOCK
local fun extensionVararg(p0: C, p1: Int) {
p0.extensionVararg(i = p1)
local fun extensionBoth(p0: C, p1: Int) {
p0.extensionBoth(i = p1)
}
::extensionVararg
::extensionBoth
})
}
@@ -39,12 +36,16 @@ fun testExtensionDefault() {
})
}
fun testExtensionBoth() {
fun testExtensionVararg() {
use(f = { // BLOCK
local fun extensionBoth(p0: C, p1: Int) {
p0.extensionBoth(i = p1)
local fun extensionVararg(p0: C, p1: Int) {
p0.extensionVararg(i = p1)
}
::extensionBoth
::extensionVararg
})
}
fun use(f: @ExtensionFunctionType Function2<C, Int, Unit>) {
}