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

43 lines
1.7 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: DataObject
// Public signature: /DataObject|null[0]
data object DataObject {
// CHECK:
// Mangled name: DataObject#<init>(){}
// Public signature: /DataObject.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK JVM_IR:
// Mangled name: DataObject#equals(kotlin.Any?){}kotlin.Boolean
// Public signature: /DataObject.equals|722809408929142791[0]
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: DataObject#equals(kotlin.Any?){}
// Public signature: /DataObject.equals|4638265728071529943[0]
// Public signature debug description: equals(kotlin.Any?){}
override operator fun equals(other: Any?): Boolean
// CHECK JVM_IR:
// Mangled name: DataObject#hashCode(){}kotlin.Int
// Public signature: /DataObject.hashCode|-8048879360829830756[0]
// Public signature debug description: hashCode(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: DataObject#hashCode(){}
// Public signature: /DataObject.hashCode|3409210261493131192[0]
// Public signature debug description: hashCode(){}
override fun hashCode(): Int
// CHECK JVM_IR:
// Mangled name: DataObject#toString(){}kotlin.String
// Public signature: /DataObject.toString|6958853723545266802[0]
// Public signature debug description: toString(){}kotlin.String
// CHECK JS_IR NATIVE:
// Mangled name: DataObject#toString(){}
// Public signature: /DataObject.toString|-1522858123163872138[0]
// Public signature debug description: toString(){}
override fun toString(): String
}