[Tests] Use stable order for ir/kotlinLike dumps

^KT-65406
This commit is contained in:
Pavel Kunyavskiy
2024-02-05 16:23:41 +01:00
committed by Space Team
parent 0fa42a9c11
commit e6f4d6e6fa
1265 changed files with 43896 additions and 48472 deletions
+19 -18
View File
@@ -1,33 +1,33 @@
fun testEmpty(ss: List<String>) {
fun testDestructuring(pp: List<Pair<Int, String>>) {
{ // BLOCK
val tmp_0: Iterator<String> = ss.iterator()
val tmp_0: Iterator<Pair<Int, String>> = pp.iterator()
while (tmp_0.hasNext()) { // BLOCK
val s: String = tmp_0.next()
}
}
}
fun testIterable(ss: List<String>) {
{ // BLOCK
val tmp_1: Iterator<String> = ss.iterator()
while (tmp_1.hasNext()) { // BLOCK
val s: String = tmp_1.next()
val tmp_1: Pair<Int, String> = tmp_0.next()
val i: Int = tmp_1.component1()
val s: String = tmp_1.component2()
{ // BLOCK
println(message = i)
println(message = s)
}
}
}
}
fun testDestructuring(pp: List<Pair<Int, String>>) {
fun testEmpty(ss: List<String>) {
{ // BLOCK
val tmp_2: Iterator<Pair<Int, String>> = pp.iterator()
val tmp_2: Iterator<String> = ss.iterator()
while (tmp_2.hasNext()) { // BLOCK
val tmp_3: Pair<Int, String> = tmp_2.next()
val i: Int = tmp_3.component1()
val s: String = tmp_3.component2()
val s: String = tmp_2.next()
}
}
}
fun testIterable(ss: List<String>) {
{ // BLOCK
val tmp_3: Iterator<String> = ss.iterator()
while (tmp_3.hasNext()) { // BLOCK
val s: String = tmp_3.next()
{ // BLOCK
println(message = i)
println(message = s)
}
}
@@ -42,3 +42,4 @@ fun testRange() {
}
}
}