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
@@ -2,7 +2,6 @@
// Mangled name: IC1
// Public signature: /IC1|null[0]
interface IC1 {
// CHECK JVM_IR:
// Mangled name: IC1#component1(){}kotlin.Int
// Public signature: /IC1.component1|-8217597213800111288[0]
@@ -19,7 +18,6 @@ interface IC1 {
// Mangled name: IC2
// Public signature: /IC2|null[0]
interface IC2 {
// CHECK JVM_IR:
// Mangled name: IC2#component2(){}kotlin.String
// Public signature: /IC2.component2|1228864375093914597[0]