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.
31 lines
776 B
Kotlin
Vendored
31 lines
776 B
Kotlin
Vendored
// CHECK:
|
|
// Mangled name: Ann
|
|
// Public signature: /Ann|null[0]
|
|
open annotation class Ann : Annotation {
|
|
// CHECK:
|
|
// Mangled name: Ann#<init>(){}
|
|
// Public signature: /Ann.<init>|-5645683436151566731[0]
|
|
// Public signature debug description: <init>(){}
|
|
constructor() /* primary */
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: I
|
|
// Public signature: /I|null[0]
|
|
interface I {
|
|
// CHECK:
|
|
// Mangled name: I#m(kotlin.String){}
|
|
// Public signature: /I.m|934693771674457301[0]
|
|
// Public signature debug description: m(kotlin.String){}
|
|
fun m(@Ann s: String): Unit
|
|
|
|
}
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: #box(){}kotlin.String
|
|
// Public signature: /box|-9347091776561469[0]
|
|
// Public signature debug description: box(){}kotlin.String
|
|
fun box(): String
|
|
|