[IR] update testdata: super and receiver for field accesses

This commit is contained in:
Zalim Bashorov
2020-11-10 03:10:13 +03:00
committed by teamcityserver
parent 029ee6f2e7
commit a6b408978f
50 changed files with 294 additions and 294 deletions
@@ -13,22 +13,22 @@ data class A {
get
operator fun component1(): @ExtensionFunctionType Function2<A, String, Unit> {
return #runA
return <this>.#runA
}
fun copy(runA: @ExtensionFunctionType Function2<A, String, Unit> = #runA): A {
fun copy(runA: @ExtensionFunctionType Function2<A, String, Unit> = <this>.#runA): A {
return A(runA = runA)
}
override fun toString(): String {
return "A(" +
"runA=" +
#runA +
<this>.#runA +
")"
}
override fun hashCode(): Int {
return #runA.hashCode()
return <this>.#runA.hashCode()
}
override operator fun equals(other: Any?): Boolean {
@@ -40,7 +40,7 @@ data class A {
}
val tmp0_other_with_cast: A = other as A
when {
EQEQ(arg0 = #runA, arg1 = #runA).not() -> return false
EQEQ(arg0 = <this>.#runA, arg1 = tmp0_other_with_cast.#runA).not() -> return false
}
return true
}
@@ -70,22 +70,22 @@ data class B {
get
operator fun component1(): Any {
return #x
return <this>.#x
}
fun copy(x: Any = #x): B {
fun copy(x: Any = <this>.#x): B {
return B(x = x)
}
override fun toString(): String {
return "B(" +
"x=" +
#x +
<this>.#x +
")"
}
override fun hashCode(): Int {
return #x.hashCode()
return <this>.#x.hashCode()
}
override operator fun equals(other: Any?): Boolean {
@@ -97,7 +97,7 @@ data class B {
}
val tmp0_other_with_cast: B = other as B
when {
EQEQ(arg0 = #x, arg1 = #x).not() -> return false
EQEQ(arg0 = <this>.#x, arg1 = tmp0_other_with_cast.#x).not() -> return false
}
return true
}