[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
+17
-16
@@ -1,30 +1,18 @@
|
||||
sealed class Expr {
|
||||
protected constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
class Const : Expr {
|
||||
val number: Double
|
||||
field = number
|
||||
get
|
||||
|
||||
constructor(number: Double) /* primary */ {
|
||||
super/*Expr*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val number: Double
|
||||
field = number
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
class Sum : Expr {
|
||||
constructor(e1: Expr, e2: Expr) /* primary */ {
|
||||
super/*Expr*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val e1: Expr
|
||||
field = e1
|
||||
get
|
||||
@@ -33,6 +21,12 @@ sealed class Expr {
|
||||
field = e2
|
||||
get
|
||||
|
||||
constructor(e1: Expr, e2: Expr) /* primary */ {
|
||||
super/*Expr*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
object NotANumber : Expr {
|
||||
@@ -44,4 +38,11 @@ sealed class Expr {
|
||||
|
||||
}
|
||||
|
||||
protected constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user