[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
Vendored
+9
-8
@@ -1,14 +1,15 @@
|
||||
fun withContext(f: @ContextFunctionTypeParams(count = 1) Function1<String, String>): String {
|
||||
return f.invoke(p1 = "OK")
|
||||
}
|
||||
|
||||
fun callWithContext(f: Function1<String, String>): String {
|
||||
return withContext(f = f)
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return callWithContext(f = local fun <anonymous>(s: String): String {
|
||||
return s
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
fun callWithContext(f: Function1<String, String>): String {
|
||||
return withContext(f = f)
|
||||
}
|
||||
|
||||
fun withContext(f: @ContextFunctionTypeParams(count = 1) Function1<String, String>): String {
|
||||
return f.invoke(p1 = "OK")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user