[IR] update testdata: print else -> ...

This commit is contained in:
Zalim Bashorov
2020-11-11 16:31:49 +03:00
committed by teamcityserver
parent 14dabed85a
commit 2dbd784a6a
66 changed files with 221 additions and 221 deletions
@@ -207,7 +207,7 @@ data class Test3 {
override fun hashCode(): Int {
return when {
EQEQ(arg0 = <this>.#anyArrayN, arg1 = null) -> 0
true -> dataClassArrayMemberHashCode(arg0 = <this>.#anyArrayN)
else -> dataClassArrayMemberHashCode(arg0 = <this>.#anyArrayN)
}
}
+3 -3
View File
@@ -92,7 +92,7 @@ data class Test2 {
override fun hashCode(): Int {
return when {
EQEQ(arg0 = <this>.#x, arg1 = null) -> 0
true -> <this>.#x.hashCode()
else -> <this>.#x.hashCode()
}
}
@@ -163,12 +163,12 @@ data class Test3 {
var result: Int = <this>.#d.hashCode()
result = result.times(other = 31).plus(other = when {
EQEQ(arg0 = <this>.#dn, arg1 = null) -> 0
true -> <this>.#dn.hashCode()
else -> <this>.#dn.hashCode()
})
result = result.times(other = 31).plus(other = <this>.#f.hashCode())
result = result.times(other = 31).plus(other = when {
EQEQ(arg0 = <this>.#df, arg1 = null) -> 0
true -> <this>.#df.hashCode()
else -> <this>.#df.hashCode()
})
return result
}
@@ -24,7 +24,7 @@ data class Test1<T : Any?> {
override fun hashCode(): Int {
return when {
EQEQ(arg0 = <this>.#x, arg1 = null) -> 0
true -> <this>.#x.hashCode()
else -> <this>.#x.hashCode()
}
}
+2 -2
View File
@@ -24,7 +24,7 @@ data class TestData {
override fun hashCode(): Int {
return when {
EQEQ(arg0 = <this>.#nn, arg1 = null) -> 0
true -> <this>.#nn.hashCode()
else -> <this>.#nn.hashCode()
}
}
@@ -62,7 +62,7 @@ inline class TestInline {
override fun hashCode(): Int {
return when {
EQEQ(arg0 = <this>.#nn, arg1 = null) -> 0
true -> <this>.#nn.hashCode()
else -> <this>.#nn.hashCode()
}
}