IR text tests: Stable blank lines between declarations in class

Rework rendering of kt-like dump and signatures dump in order to avoid
unstable blank line between declarations of the same level:
1. No blank line for the first declaration inside the member scope of
the class.
2. Always a single blank line between each two subsequent declarations
inside the member scope of the class.
This commit is contained in:
Dmitriy Dolovov
2023-11-23 23:00:58 +01:00
committed by Space Team
parent 4532f52898
commit 16d1e85932
231 changed files with 236 additions and 280 deletions
@@ -61,7 +61,6 @@ class Candidate {
// Mangled name: FirCallableMemberDeclaration
// Public signature: /FirCallableMemberDeclaration|null[0]
interface FirCallableMemberDeclaration<F : FirCallableMemberDeclaration<F>> : FirDeclaration, FirSymbolOwner<F> {
// CHECK:
// Mangled name: FirCallableMemberDeclaration{}symbol
// Public signature: /FirCallableMemberDeclaration.symbol|-2022127689160258603[0]
@@ -83,14 +82,12 @@ interface FirCallableMemberDeclaration<F : FirCallableMemberDeclaration<F>> : Fi
// Mangled name: FirDeclaration
// Public signature: /FirDeclaration|null[0]
interface FirDeclaration {
}
// CHECK:
// Mangled name: FirSymbolOwner
// Public signature: /FirSymbolOwner|null[0]
interface FirSymbolOwner<E> where E : FirDeclaration, E : FirSymbolOwner<E> {
// CHECK:
// Mangled name: FirSymbolOwner{}symbol
// Public signature: /FirSymbolOwner.symbol|-2022127689160258603[0]