[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
Vendored
+11
-10
@@ -1,7 +1,3 @@
|
||||
fun use(fn: Function1<Int, Any>): Any {
|
||||
return fn.invoke(p1 = 42)
|
||||
}
|
||||
|
||||
class C {
|
||||
constructor(vararg xs: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
@@ -12,12 +8,6 @@ class C {
|
||||
}
|
||||
|
||||
class Outer {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
inner class Inner {
|
||||
constructor(vararg xs: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
@@ -27,6 +17,12 @@ class Outer {
|
||||
|
||||
}
|
||||
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fun testConstructor(): Any {
|
||||
@@ -58,3 +54,8 @@ fun testInnerClassConstructorCapturingOuter(): Any {
|
||||
Outer()::<init>
|
||||
})
|
||||
}
|
||||
|
||||
fun use(fn: Function1<Int, Any>): Any {
|
||||
return fn.invoke(p1 = 42)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user