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.
67 lines
1.8 KiB
Kotlin
Vendored
67 lines
1.8 KiB
Kotlin
Vendored
// CHECK:
|
|
// Mangled name: C
|
|
// Public signature: /C|null[0]
|
|
class C : IFooBar {
|
|
// CHECK:
|
|
// Mangled name: C#<init>(){}
|
|
// Public signature: /C.<init>|-5645683436151566731[0]
|
|
// Public signature debug description: <init>(){}
|
|
constructor() /* primary */
|
|
|
|
// CHECK:
|
|
// Mangled name: C#foo(){}
|
|
// Public signature: /C.foo|-1041209573719867811[0]
|
|
// Public signature debug description: foo(){}
|
|
override fun foo(): Unit
|
|
|
|
// CHECK:
|
|
// Mangled name: C#bar(){}
|
|
// Public signature: /C.bar|496682602797471549[0]
|
|
// Public signature debug description: bar(){}
|
|
override fun bar(): Unit
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: IFooBar
|
|
// Public signature: /IFooBar|null[0]
|
|
interface IFooBar {
|
|
// CHECK:
|
|
// Mangled name: IFooBar#bar(){}
|
|
// Public signature: /IFooBar.bar|496682602797471549[0]
|
|
// Public signature debug description: bar(){}
|
|
abstract fun bar(): Unit
|
|
|
|
// CHECK:
|
|
// Mangled name: IFooBar#foo(){}
|
|
// Public signature: /IFooBar.foo|-1041209573719867811[0]
|
|
// Public signature debug description: foo(){}
|
|
abstract fun foo(): Unit
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: FooBarImpl
|
|
// Public signature: /FooBarImpl|null[0]
|
|
object FooBarImpl : IFooBar {
|
|
// CHECK:
|
|
// Mangled name: FooBarImpl#<init>(){}
|
|
// Public signature: /FooBarImpl.<init>|-5645683436151566731[0]
|
|
// Public signature debug description: <init>(){}
|
|
private constructor() /* primary */
|
|
|
|
// CHECK:
|
|
// Mangled name: FooBarImpl#bar(){}
|
|
// Public signature: /FooBarImpl.bar|496682602797471549[0]
|
|
// Public signature debug description: bar(){}
|
|
override fun bar(): Unit
|
|
|
|
// CHECK:
|
|
// Mangled name: FooBarImpl#foo(){}
|
|
// Public signature: /FooBarImpl.foo|-1041209573719867811[0]
|
|
// Public signature debug description: foo(){}
|
|
override fun foo(): Unit
|
|
|
|
}
|
|
|