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:
committed by
Space Team
parent
4532f52898
commit
16d1e85932
@@ -7,6 +7,7 @@ abstract enum class X : Enum<X> {
|
||||
// Public signature: /X.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: X.B
|
||||
// Public signature: /X.B|null[0]
|
||||
@@ -51,6 +52,7 @@ abstract enum class X : Enum<X> {
|
||||
// Public signature: /X.B.<EEC>.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
private constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: X.B#compareTo(X){}kotlin.Int
|
||||
// Public signature: /X.B.<EEC>.compareTo|-4945307460605318887[0]
|
||||
|
||||
Reference in New Issue
Block a user