[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
+17
-17
@@ -1,38 +1,32 @@
|
||||
class TestInitVarFromParameter {
|
||||
var x: Int
|
||||
field = x
|
||||
get
|
||||
set
|
||||
|
||||
constructor(x: Int) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
var x: Int
|
||||
field = x
|
||||
get
|
||||
set
|
||||
|
||||
}
|
||||
|
||||
class TestInitVarInClass {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
var x: Int
|
||||
field = 0
|
||||
get
|
||||
set
|
||||
|
||||
}
|
||||
|
||||
class TestInitVarInInitBlock {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class TestInitVarInInitBlock {
|
||||
var x: Int
|
||||
get
|
||||
set
|
||||
@@ -41,15 +35,15 @@ class TestInitVarInInitBlock {
|
||||
<this>.<set-x>(<set-?> = 0)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class TestInitVarWithCustomSetter {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class TestInitVarWithCustomSetter {
|
||||
var x: Int
|
||||
field = 0
|
||||
get
|
||||
@@ -57,5 +51,11 @@ class TestInitVarWithCustomSetter {
|
||||
<this>.#x = value
|
||||
}
|
||||
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user