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.
35 lines
1.0 KiB
Kotlin
Vendored
35 lines
1.0 KiB
Kotlin
Vendored
// CHECK:
|
|
// Mangled name: IA
|
|
// Public signature: /IA|null[0]
|
|
interface IA {
|
|
// CHECK JVM_IR:
|
|
// Mangled name: IA#get(kotlin.String){}kotlin.Int
|
|
// Public signature: /IA.get|8115151130332405730[0]
|
|
// Public signature debug description: get(kotlin.String){}kotlin.Int
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: IA#get(kotlin.String){}
|
|
// Public signature: /IA.get|-2844435113185872994[0]
|
|
// Public signature debug description: get(kotlin.String){}
|
|
abstract operator fun get(index: String): Int
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: IB
|
|
// Public signature: /IB|null[0]
|
|
interface IB {
|
|
// CHECK:
|
|
// Mangled name: IB#set@IA(kotlin.String;kotlin.Int){}
|
|
// Public signature: /IB.set|-3878244067281394744[0]
|
|
// Public signature debug description: set@IA(kotlin.String;kotlin.Int){}
|
|
abstract operator fun IA.set(index: String, value: Int): Unit
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: #test@IB(IA){}
|
|
// Public signature: /test|-3494937446551267445[0]
|
|
// Public signature debug description: test@IB(IA){}
|
|
fun IB.test(a: IA): Unit
|
|
|