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.
39 lines
1.2 KiB
Kotlin
Vendored
39 lines
1.2 KiB
Kotlin
Vendored
// CHECK:
|
|
// Mangled name: IC1
|
|
// Public signature: /IC1|null[0]
|
|
interface IC1 {
|
|
// CHECK JVM_IR:
|
|
// Mangled name: IC1#component1(){}kotlin.Int
|
|
// Public signature: /IC1.component1|-8217597213800111288[0]
|
|
// Public signature debug description: component1(){}kotlin.Int
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: IC1#component1(){}
|
|
// Public signature: /IC1.component1|162597135895221648[0]
|
|
// Public signature debug description: component1(){}
|
|
abstract operator fun component1(): Int
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: IC2
|
|
// Public signature: /IC2|null[0]
|
|
interface IC2 {
|
|
// CHECK JVM_IR:
|
|
// Mangled name: IC2#component2(){}kotlin.String
|
|
// Public signature: /IC2.component2|1228864375093914597[0]
|
|
// Public signature debug description: component2(){}kotlin.String
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: IC2#component2(){}
|
|
// Public signature: /IC2.component2|3796717572321500973[0]
|
|
// Public signature debug description: component2(){}
|
|
abstract operator fun component2(): String
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: #test(kotlin.Any){}
|
|
// Public signature: /test|-7985792749252989017[0]
|
|
// Public signature debug description: test(kotlin.Any){}
|
|
fun test(x: Any): Unit
|
|
|