Files
kotlin-fork/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.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

46 lines
1.5 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: Outer
// Public signature: /Outer|null[0]
class Outer {
// CHECK:
// Mangled name: Outer.Inner
// Public signature: /Outer.Inner|null[0]
inner class Inner {
// CHECK:
// Mangled name: Outer.Inner{}x
// Public signature: /Outer.Inner.x|-8060530855978347579[0]
// Public signature debug description: {}x
val x: Int
// CHECK JVM_IR:
// Mangled name: Outer.Inner#<get-x>(){}kotlin.Int
// Public signature: /Outer.Inner.x.<get-x>|4966956098150895696[0]
// Public signature debug description: <get-x>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Outer.Inner#<get-x>(){}
// Public signature: /Outer.Inner.x.<get-x>|1482705010654679335[0]
// Public signature debug description: <get-x>(){}
get
// CHECK:
// Mangled name: Outer.Inner#<init>(){}
// Public signature: /Outer.Inner.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor()
// CHECK:
// Mangled name: Outer.Inner#<init>(kotlin.Int){}
// Public signature: /Outer.Inner.<init>|-5182794243525578284[0]
// Public signature debug description: <init>(kotlin.Int){}
constructor(x: Int) /* primary */
}
// CHECK:
// Mangled name: Outer#<init>(){}
// Public signature: /Outer.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
}