[Tests] Use stable order for ir/kotlinLike dumps
^KT-65406
This commit is contained in:
committed by
Space Team
parent
0fa42a9c11
commit
e6f4d6e6fa
+1
@@ -52,6 +52,7 @@ class IrPrettyKotlinDumpHandler(
|
||||
printFilePath = false,
|
||||
printFakeOverridesStrategy = FakeOverridesStrategy.NONE,
|
||||
normalizeNames = true, // KT-61983: K1 and K2 kotlin-like dumps are closer to each other when tempvar names are normalized
|
||||
stableOrder = true,
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
+2
-1
@@ -94,7 +94,8 @@ class IrTextDumpHandler(
|
||||
// PSI2IR assigns field `abbreviation` with type abbreviation. It serves only debugging purposes, and no compiler functionality relies on it.
|
||||
// FIR2IR does not initialize field `abbreviation` at all.
|
||||
printTypeAbbreviations = false,
|
||||
isHiddenDeclaration = { isHiddenDeclaration(it, irBuiltins) }
|
||||
isHiddenDeclaration = { isHiddenDeclaration(it, irBuiltins) },
|
||||
stableOrder = true,
|
||||
)
|
||||
|
||||
val builder = baseDumper.builderForModule(module.name)
|
||||
|
||||
Reference in New Issue
Block a user