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
-3
@@ -2,7 +2,6 @@
|
||||
// Mangled name: KConsumer
|
||||
// Public signature: /KConsumer|null[0]
|
||||
fun interface KConsumer<T : Any?> {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KConsumer#accept(1:0){}
|
||||
// Public signature: /KConsumer.accept|6106307687017385176[0]
|
||||
@@ -15,7 +14,6 @@ fun interface KConsumer<T : Any?> {
|
||||
// Mangled name: KRunnable
|
||||
// Public signature: /KRunnable|null[0]
|
||||
fun interface KRunnable {
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KRunnable#run(){}
|
||||
// Public signature: /KRunnable.run|-991178076551934874[0]
|
||||
@@ -28,7 +26,6 @@ fun interface KRunnable {
|
||||
// Mangled name: KSupplier
|
||||
// Public signature: /KSupplier|null[0]
|
||||
fun interface KSupplier<T : Any?> {
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: KSupplier#get(){}1:0
|
||||
// Public signature: /KSupplier.get|-8285253024618084508[0]
|
||||
|
||||
Reference in New Issue
Block a user