Files
kotlin-fork/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.sig.kt.txt
T
Dmitriy Dolovov 16d1e85932 IR text tests: Stable blank lines between declarations in class
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.
2023-11-30 08:32:35 +00:00

37 lines
988 B
Kotlin
Vendored

// CHECK:
// Mangled name: Base
// Public signature: /Base|null[0]
open class Base {
// CHECK:
// Mangled name: Base#<init>(){}
// Public signature: /Base.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
}
// CHECK:
// Mangled name: Test
// Public signature: /Test|null[0]
class Test : Base {
// CHECK:
// Mangled name: Test#<init>(){}
// Public signature: /Test.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor()
// CHECK:
// Mangled name: Test#<init>(kotlin.Int){}
// Public signature: /Test.<init>|-5182794243525578284[0]
// Public signature debug description: <init>(kotlin.Int){}
constructor(xx: Int)
// CHECK:
// Mangled name: Test#<init>(kotlin.Short){}
// Public signature: /Test.<init>|-8537285994488541433[0]
// Public signature debug description: <init>(kotlin.Short){}
constructor(xx: Short)
}