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
@@ -44,6 +44,7 @@ class C : A {
|
||||
// Public signature: /C.<init>|-3166999336802030902[0]
|
||||
// Public signature debug description: <init>(A){}
|
||||
constructor(x: A) /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: C#f(kotlin.String){}kotlin.String
|
||||
// Public signature: /C.f|-2199490409267413998[0]
|
||||
@@ -60,7 +61,6 @@ class C : A {
|
||||
// Mangled name: A
|
||||
// Public signature: /A|null[0]
|
||||
interface A {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#f(kotlin.String){}kotlin.String
|
||||
// Public signature: /A.f|-2199490409267413998[0]
|
||||
|
||||
Reference in New Issue
Block a user