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
+5
-1
@@ -79,6 +79,7 @@ class TestJFoo : IFoo {
|
||||
// Public signature: /TestJFoo.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestJFoo#foo(){}kotlin.String
|
||||
// Public signature: /TestJFoo.foo|485335955883620819[0]
|
||||
@@ -96,6 +97,7 @@ class TestK1 : IFoo {
|
||||
// Public signature: /TestK1.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestK1#foo(){}kotlin.String
|
||||
// Public signature: /TestK1.foo|485335955883620819[0]
|
||||
@@ -113,6 +115,7 @@ class TestK2 : IFoo {
|
||||
// Public signature: /TestK2.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestK2#foo(){}kotlin.String
|
||||
// Public signature: /TestK2.foo|485335955883620819[0]
|
||||
@@ -130,6 +133,7 @@ class TestK3 : IFoo {
|
||||
// Public signature: /TestK3.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestK3#foo(){}kotlin.String
|
||||
// Public signature: /TestK3.foo|485335955883620819[0]
|
||||
@@ -147,6 +151,7 @@ class TestK4 : IFoo {
|
||||
// Public signature: /TestK4.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: TestK4#foo(){}kotlin.String
|
||||
// Public signature: /TestK4.foo|485335955883620819[0]
|
||||
@@ -159,7 +164,6 @@ class TestK4 : IFoo {
|
||||
// Mangled name: IFoo
|
||||
// Public signature: /IFoo|null[0]
|
||||
interface IFoo {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: IFoo#foo(){}kotlin.String
|
||||
// Public signature: /IFoo.foo|485335955883620819[0]
|
||||
|
||||
Reference in New Issue
Block a user