[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
@@ -1,29 +1,3 @@
|
||||
object A {
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
fun foo(): Int {
|
||||
return 1
|
||||
}
|
||||
|
||||
fun Int.fooExt(): Int {
|
||||
return 2
|
||||
}
|
||||
|
||||
val bar: Int
|
||||
field = 42
|
||||
get
|
||||
|
||||
val Int.barExt: Int
|
||||
get(): Int {
|
||||
return 43
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
val test1: Int
|
||||
field = A.foo()
|
||||
get
|
||||
@@ -39,3 +13,30 @@ val test3: Int
|
||||
val test4: Int
|
||||
field = (A, 1).<get-barExt>()
|
||||
get
|
||||
|
||||
object A {
|
||||
val bar: Int
|
||||
field = 42
|
||||
get
|
||||
|
||||
private constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
fun foo(): Int {
|
||||
return 1
|
||||
}
|
||||
|
||||
fun Int.fooExt(): Int {
|
||||
return 2
|
||||
}
|
||||
|
||||
val Int.barExt: Int
|
||||
get(): Int {
|
||||
return 43
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user