16d1e85932
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.
19 lines
504 B
Kotlin
Vendored
19 lines
504 B
Kotlin
Vendored
// CHECK:
|
|
// Mangled name: KRunnable
|
|
// Public signature: /KRunnable|null[0]
|
|
fun interface KRunnable {
|
|
// CHECK:
|
|
// Mangled name: KRunnable#invoke(){}
|
|
// Public signature: /KRunnable.invoke|-4663091332620260873[0]
|
|
// Public signature debug description: invoke(){}
|
|
abstract fun invoke(): Unit
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: #test(kotlin.Any?){}
|
|
// Public signature: /test|4942271194395271693[0]
|
|
// Public signature debug description: test(kotlin.Any?){}
|
|
fun test(a: Any?): Unit
|
|
|