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
Vendored
-1
@@ -4,7 +4,6 @@ fun interface IFoo {
|
||||
}
|
||||
|
||||
fun interface IFoo2 : IFoo {
|
||||
|
||||
}
|
||||
|
||||
object A {
|
||||
|
||||
-1
@@ -4,7 +4,6 @@ fun interface IFoo {
|
||||
}
|
||||
|
||||
fun interface IFoo2 : IFoo {
|
||||
|
||||
}
|
||||
|
||||
object A {
|
||||
|
||||
Vendored
-2
@@ -2,7 +2,6 @@
|
||||
// Mangled name: IFoo
|
||||
// Public signature: /IFoo|null[0]
|
||||
fun interface IFoo {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFoo#foo(kotlin.Int){}
|
||||
// Public signature: /IFoo.foo|-104159190164110731[0]
|
||||
@@ -15,7 +14,6 @@ fun interface IFoo {
|
||||
// Mangled name: IFoo2
|
||||
// Public signature: /IFoo2|null[0]
|
||||
fun interface IFoo2 : IFoo {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFoo2#foo(kotlin.Int){}
|
||||
// Public signature: /IFoo2.foo|-104159190164110731[0]
|
||||
|
||||
-1
@@ -2,7 +2,6 @@
|
||||
// Mangled name: IFoo
|
||||
// Public signature: /IFoo|null[0]
|
||||
fun interface IFoo {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: IFoo#foo(kotlin.Int){}
|
||||
// Public signature: /IFoo.foo|-104159190164110731[0]
|
||||
|
||||
Reference in New Issue
Block a user