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
@@ -22,6 +22,7 @@ open class ControlFlowInfo<K : Any?, V : Any?> : Map<K, V> {
// Public signature: /ControlFlowInfo.<init>|2293537713863886898[0]
// Public signature debug description: <init>(kotlin.collections.Map<1:0,1:1>){}
constructor(map: Map<K, V>) /* primary */
// CHECK JVM_IR:
// Mangled name: ControlFlowInfo#containsKey(1:0){}kotlin.Boolean
// Public signature: /ControlFlowInfo.containsKey|-2697616884574929105[0]
@@ -133,6 +134,7 @@ class StringFlowInfo : ControlFlowInfo<String, String> {
// Public signature: /StringFlowInfo.<init>|4094084879849523083[0]
// Public signature debug description: <init>(kotlin.collections.Map<kotlin.String,kotlin.String>){}
constructor(map: Map<String, String>) /* primary */
// CHECK JVM_IR:
// Mangled name: StringFlowInfo#containsKey(kotlin.String){}kotlin.Boolean
// Public signature: /StringFlowInfo.containsKey|8275396622473115435[0]