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.
309 lines
12 KiB
Kotlin
Vendored
309 lines
12 KiB
Kotlin
Vendored
// CHECK:
|
|
// Mangled name: Test1
|
|
// Public signature: /Test1|null[0]
|
|
data class Test1<T : Any?> {
|
|
// CHECK:
|
|
// Mangled name: Test1{}x
|
|
// Public signature: /Test1.x|-8060530855978347579[0]
|
|
// Public signature debug description: {}x
|
|
val x: T
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test1#<get-x>(){}1:0
|
|
// Public signature: /Test1.x.<get-x>|-8893883356128097563[0]
|
|
// Public signature debug description: <get-x>(){}1:0
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test1#<get-x>(){}
|
|
// Public signature: /Test1.x.<get-x>|1482705010654679335[0]
|
|
// Public signature debug description: <get-x>(){}
|
|
get
|
|
|
|
// CHECK:
|
|
// Mangled name: Test1#<init>(1:0){}
|
|
// Public signature: /Test1.<init>|-8731461708390519279[0]
|
|
// Public signature debug description: <init>(1:0){}
|
|
constructor(x: T) /* primary */
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test1#component1(){}1:0
|
|
// Public signature: /Test1.component1|2393470133763651536[0]
|
|
// Public signature debug description: component1(){}1:0
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test1#component1(){}
|
|
// Public signature: /Test1.component1|162597135895221648[0]
|
|
// Public signature debug description: component1(){}
|
|
operator fun component1(): T
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test1#copy(1:0){}Test1<1:0>
|
|
// Public signature: /Test1.copy|-3829390724189512274[0]
|
|
// Public signature debug description: copy(1:0){}Test1<1:0>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test1#copy(1:0){}
|
|
// Public signature: /Test1.copy|3824555624975687868[0]
|
|
// Public signature debug description: copy(1:0){}
|
|
fun copy(x: T): Test1<T>
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test1#equals(kotlin.Any?){}kotlin.Boolean
|
|
// Public signature: /Test1.equals|722809408929142791[0]
|
|
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test1#equals(kotlin.Any?){}
|
|
// Public signature: /Test1.equals|4638265728071529943[0]
|
|
// Public signature debug description: equals(kotlin.Any?){}
|
|
override operator fun equals(other: Any?): Boolean
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test1#hashCode(){}kotlin.Int
|
|
// Public signature: /Test1.hashCode|-8048879360829830756[0]
|
|
// Public signature debug description: hashCode(){}kotlin.Int
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test1#hashCode(){}
|
|
// Public signature: /Test1.hashCode|3409210261493131192[0]
|
|
// Public signature debug description: hashCode(){}
|
|
override fun hashCode(): Int
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test1#toString(){}kotlin.String
|
|
// Public signature: /Test1.toString|6958853723545266802[0]
|
|
// Public signature debug description: toString(){}kotlin.String
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test1#toString(){}
|
|
// Public signature: /Test1.toString|-1522858123163872138[0]
|
|
// Public signature debug description: toString(){}
|
|
override fun toString(): String
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: Test2
|
|
// Public signature: /Test2|null[0]
|
|
data class Test2<T : Number> {
|
|
// CHECK:
|
|
// Mangled name: Test2{}x
|
|
// Public signature: /Test2.x|-8060530855978347579[0]
|
|
// Public signature debug description: {}x
|
|
val x: T
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test2#<get-x>(){}1:0
|
|
// Public signature: /Test2.x.<get-x>|-8893883356128097563[0]
|
|
// Public signature debug description: <get-x>(){}1:0
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test2#<get-x>(){}
|
|
// Public signature: /Test2.x.<get-x>|1482705010654679335[0]
|
|
// Public signature debug description: <get-x>(){}
|
|
get
|
|
|
|
// CHECK:
|
|
// Mangled name: Test2#<init>(1:0){}
|
|
// Public signature: /Test2.<init>|-8731461708390519279[0]
|
|
// Public signature debug description: <init>(1:0){}
|
|
constructor(x: T) /* primary */
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test2#component1(){}1:0
|
|
// Public signature: /Test2.component1|2393470133763651536[0]
|
|
// Public signature debug description: component1(){}1:0
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test2#component1(){}
|
|
// Public signature: /Test2.component1|162597135895221648[0]
|
|
// Public signature debug description: component1(){}
|
|
operator fun component1(): T
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test2#copy(1:0){}Test2<1:0>
|
|
// Public signature: /Test2.copy|6320544838333919124[0]
|
|
// Public signature debug description: copy(1:0){}Test2<1:0>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test2#copy(1:0){}
|
|
// Public signature: /Test2.copy|3824555624975687868[0]
|
|
// Public signature debug description: copy(1:0){}
|
|
fun copy(x: T): Test2<T>
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test2#equals(kotlin.Any?){}kotlin.Boolean
|
|
// Public signature: /Test2.equals|722809408929142791[0]
|
|
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test2#equals(kotlin.Any?){}
|
|
// Public signature: /Test2.equals|4638265728071529943[0]
|
|
// Public signature debug description: equals(kotlin.Any?){}
|
|
override operator fun equals(other: Any?): Boolean
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test2#hashCode(){}kotlin.Int
|
|
// Public signature: /Test2.hashCode|-8048879360829830756[0]
|
|
// Public signature debug description: hashCode(){}kotlin.Int
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test2#hashCode(){}
|
|
// Public signature: /Test2.hashCode|3409210261493131192[0]
|
|
// Public signature debug description: hashCode(){}
|
|
override fun hashCode(): Int
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test2#toString(){}kotlin.String
|
|
// Public signature: /Test2.toString|6958853723545266802[0]
|
|
// Public signature debug description: toString(){}kotlin.String
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test2#toString(){}
|
|
// Public signature: /Test2.toString|-1522858123163872138[0]
|
|
// Public signature debug description: toString(){}
|
|
override fun toString(): String
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: Test3
|
|
// Public signature: /Test3|null[0]
|
|
data class Test3<T : Any?> {
|
|
// CHECK:
|
|
// Mangled name: Test3{}x
|
|
// Public signature: /Test3.x|-8060530855978347579[0]
|
|
// Public signature debug description: {}x
|
|
val x: List<T>
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test3#<get-x>(){}kotlin.collections.List<1:0>
|
|
// Public signature: /Test3.x.<get-x>|-8777382765774009671[0]
|
|
// Public signature debug description: <get-x>(){}kotlin.collections.List<1:0>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test3#<get-x>(){}
|
|
// Public signature: /Test3.x.<get-x>|1482705010654679335[0]
|
|
// Public signature debug description: <get-x>(){}
|
|
get
|
|
|
|
// CHECK:
|
|
// Mangled name: Test3#<init>(kotlin.collections.List<1:0>){}
|
|
// Public signature: /Test3.<init>|-6703374673612964420[0]
|
|
// Public signature debug description: <init>(kotlin.collections.List<1:0>){}
|
|
constructor(x: List<T>) /* primary */
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test3#component1(){}kotlin.collections.List<1:0>
|
|
// Public signature: /Test3.component1|-4141154284195946749[0]
|
|
// Public signature debug description: component1(){}kotlin.collections.List<1:0>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test3#component1(){}
|
|
// Public signature: /Test3.component1|162597135895221648[0]
|
|
// Public signature debug description: component1(){}
|
|
operator fun component1(): List<T>
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test3#copy(kotlin.collections.List<1:0>){}Test3<1:0>
|
|
// Public signature: /Test3.copy|-1250137760207177088[0]
|
|
// Public signature debug description: copy(kotlin.collections.List<1:0>){}Test3<1:0>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test3#copy(kotlin.collections.List<1:0>){}
|
|
// Public signature: /Test3.copy|9161286063615545697[0]
|
|
// Public signature debug description: copy(kotlin.collections.List<1:0>){}
|
|
fun copy(x: List<T>): Test3<T>
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test3#equals(kotlin.Any?){}kotlin.Boolean
|
|
// Public signature: /Test3.equals|722809408929142791[0]
|
|
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test3#equals(kotlin.Any?){}
|
|
// Public signature: /Test3.equals|4638265728071529943[0]
|
|
// Public signature debug description: equals(kotlin.Any?){}
|
|
override operator fun equals(other: Any?): Boolean
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test3#hashCode(){}kotlin.Int
|
|
// Public signature: /Test3.hashCode|-8048879360829830756[0]
|
|
// Public signature debug description: hashCode(){}kotlin.Int
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test3#hashCode(){}
|
|
// Public signature: /Test3.hashCode|3409210261493131192[0]
|
|
// Public signature debug description: hashCode(){}
|
|
override fun hashCode(): Int
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test3#toString(){}kotlin.String
|
|
// Public signature: /Test3.toString|6958853723545266802[0]
|
|
// Public signature debug description: toString(){}kotlin.String
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test3#toString(){}
|
|
// Public signature: /Test3.toString|-1522858123163872138[0]
|
|
// Public signature debug description: toString(){}
|
|
override fun toString(): String
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: Test4
|
|
// Public signature: /Test4|null[0]
|
|
data class Test4 {
|
|
// CHECK:
|
|
// Mangled name: Test4{}x
|
|
// Public signature: /Test4.x|-8060530855978347579[0]
|
|
// Public signature debug description: {}x
|
|
val x: List<String>
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test4#<get-x>(){}kotlin.collections.List<kotlin.String>
|
|
// Public signature: /Test4.x.<get-x>|-612381453611729517[0]
|
|
// Public signature debug description: <get-x>(){}kotlin.collections.List<kotlin.String>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test4#<get-x>(){}
|
|
// Public signature: /Test4.x.<get-x>|1482705010654679335[0]
|
|
// Public signature debug description: <get-x>(){}
|
|
get
|
|
|
|
// CHECK:
|
|
// Mangled name: Test4#<init>(kotlin.collections.List<kotlin.String>){}
|
|
// Public signature: /Test4.<init>|-9211757031347255021[0]
|
|
// Public signature debug description: <init>(kotlin.collections.List<kotlin.String>){}
|
|
constructor(x: List<String>) /* primary */
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test4#component1(){}kotlin.collections.List<kotlin.String>
|
|
// Public signature: /Test4.component1|-4918334505452908017[0]
|
|
// Public signature debug description: component1(){}kotlin.collections.List<kotlin.String>
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test4#component1(){}
|
|
// Public signature: /Test4.component1|162597135895221648[0]
|
|
// Public signature debug description: component1(){}
|
|
operator fun component1(): List<String>
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test4#copy(kotlin.collections.List<kotlin.String>){}Test4
|
|
// Public signature: /Test4.copy|8976360980800871723[0]
|
|
// Public signature debug description: copy(kotlin.collections.List<kotlin.String>){}Test4
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test4#copy(kotlin.collections.List<kotlin.String>){}
|
|
// Public signature: /Test4.copy|8294748365935686629[0]
|
|
// Public signature debug description: copy(kotlin.collections.List<kotlin.String>){}
|
|
fun copy(x: List<String>): Test4
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test4#equals(kotlin.Any?){}kotlin.Boolean
|
|
// Public signature: /Test4.equals|722809408929142791[0]
|
|
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test4#equals(kotlin.Any?){}
|
|
// Public signature: /Test4.equals|4638265728071529943[0]
|
|
// Public signature debug description: equals(kotlin.Any?){}
|
|
override operator fun equals(other: Any?): Boolean
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test4#hashCode(){}kotlin.Int
|
|
// Public signature: /Test4.hashCode|-8048879360829830756[0]
|
|
// Public signature debug description: hashCode(){}kotlin.Int
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test4#hashCode(){}
|
|
// Public signature: /Test4.hashCode|3409210261493131192[0]
|
|
// Public signature debug description: hashCode(){}
|
|
override fun hashCode(): Int
|
|
|
|
// CHECK JVM_IR:
|
|
// Mangled name: Test4#toString(){}kotlin.String
|
|
// Public signature: /Test4.toString|6958853723545266802[0]
|
|
// Public signature debug description: toString(){}kotlin.String
|
|
// CHECK JS_IR NATIVE:
|
|
// Mangled name: Test4#toString(){}
|
|
// Public signature: /Test4.toString|-1522858123163872138[0]
|
|
// Public signature debug description: toString(){}
|
|
override fun toString(): String
|
|
|
|
}
|
|
|