[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
+25
-24
@@ -1,4 +1,8 @@
|
||||
data class A {
|
||||
val runA: @ExtensionFunctionType Function2<A, String, Unit>
|
||||
field = runA
|
||||
get
|
||||
|
||||
constructor(runA: @ExtensionFunctionType Function2<A, String, Unit> = local fun A.<anonymous>(it: String) {
|
||||
return Unit
|
||||
}
|
||||
@@ -8,10 +12,6 @@ data class A {
|
||||
|
||||
}
|
||||
|
||||
val runA: @ExtensionFunctionType Function2<A, String, Unit>
|
||||
field = runA
|
||||
get
|
||||
|
||||
operator fun component1(): @ExtensionFunctionType Function2<A, String, Unit> {
|
||||
return <this>.#runA
|
||||
}
|
||||
@@ -20,14 +20,6 @@ data class A {
|
||||
return A(runA = runA)
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "A(" + "runA=" + <this>.#runA + ")"
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return <this>.#runA.hashCode()
|
||||
}
|
||||
|
||||
override operator fun equals(other: Any?): Boolean {
|
||||
when {
|
||||
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
|
||||
@@ -42,9 +34,21 @@ data class A {
|
||||
return true
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return <this>.#runA.hashCode()
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "A(" + "runA=" + <this>.#runA + ")"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
data class B {
|
||||
val x: Any
|
||||
field = x
|
||||
get
|
||||
|
||||
constructor(x: Any = { // BLOCK
|
||||
local class <no name provided> {
|
||||
constructor() /* primary */ {
|
||||
@@ -62,10 +66,6 @@ data class B {
|
||||
|
||||
}
|
||||
|
||||
val x: Any
|
||||
field = x
|
||||
get
|
||||
|
||||
operator fun component1(): Any {
|
||||
return <this>.#x
|
||||
}
|
||||
@@ -74,14 +74,6 @@ data class B {
|
||||
return B(x = x)
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "B(" + "x=" + <this>.#x + ")"
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return <this>.#x.hashCode()
|
||||
}
|
||||
|
||||
override operator fun equals(other: Any?): Boolean {
|
||||
when {
|
||||
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
|
||||
@@ -96,4 +88,13 @@ data class B {
|
||||
return true
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return <this>.#x.hashCode()
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "B(" + "x=" + <this>.#x + ")"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user