[Tests] More conservative stableOrdered dump

Order of enum entries and fields matters, we can't sort them too.

^KT-65460
This commit is contained in:
Pavel Kunyavskiy
2024-02-05 16:45:10 +01:00
committed by Space Team
parent 5d4e822f42
commit 0fa42a9c11
27 changed files with 613 additions and 606 deletions
@@ -29,12 +29,6 @@ open annotation class TestAnn : Annotation {
// Mangled name: TestEnum
// Public signature: /TestEnum|null[0]
open enum class TestEnum : Enum<TestEnum> {
// CHECK:
// Mangled name: TestEnum#<init>(){}
// Public signature: /TestEnum.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK:
// Mangled name: TestEnum.ENTRY1
// Public signature: /TestEnum.ENTRY1|null[0]
@@ -145,6 +139,12 @@ open enum class TestEnum : Enum<TestEnum> {
}
// CHECK:
// Mangled name: TestEnum#<init>(){}
// Public signature: /TestEnum.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: TestEnum#valueOf#static(kotlin.String){}TestEnum
// Public signature: /TestEnum.valueOf|1811575739170804829[0]
@@ -251,3 +251,4 @@ open enum class TestEnum : Enum<TestEnum> {
/* fake */ override get(): Int
}