[klib] Test signature descriptions in irText tests
KT-59486
This commit is contained in:
committed by
Space Team
parent
6142d75bb4
commit
5e63f7627f
@@ -1,17 +1,21 @@
|
||||
// CHECK:
|
||||
// Mangled name: {}fn
|
||||
// Public signature: /fn|-1096960354582375131[0]
|
||||
// Public signature debug description: {}fn
|
||||
var fn: Function1<A, Int>
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-fn>(){}kotlin.Function1<A,kotlin.Int>
|
||||
// Public signature: /fn.<get-fn>|-1538543637358155392[0]
|
||||
// Public signature debug description: <get-fn>(){}kotlin.Function1<A,kotlin.Int>
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-fn>(){}
|
||||
// Public signature: /fn.<get-fn>|7436020190901948688[0]
|
||||
// Public signature debug description: <get-fn>(){}
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: #<set-fn>(kotlin.Function1<A,kotlin.Int>){}
|
||||
// Public signature: /fn.<set-fn>|5076231225819362553[0]
|
||||
// Public signature debug description: <set-fn>(kotlin.Function1<A,kotlin.Int>){}
|
||||
set
|
||||
|
||||
// CHECK:
|
||||
@@ -21,77 +25,96 @@ data class A {
|
||||
// CHECK:
|
||||
// Mangled name: A{}x
|
||||
// Public signature: /A.x|-8060530855978347579[0]
|
||||
// Public signature debug description: {}x
|
||||
val x: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#<get-x>(){}kotlin.Int
|
||||
// Public signature: /A.x.<get-x>|4966956098150895696[0]
|
||||
// Public signature debug description: <get-x>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#<get-x>(){}
|
||||
// Public signature: /A.x.<get-x>|1482705010654679335[0]
|
||||
// Public signature debug description: <get-x>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A{}y
|
||||
// Public signature: /A.y|3625903257357557171[0]
|
||||
// Public signature debug description: {}y
|
||||
val y: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#<get-y>(){}kotlin.Int
|
||||
// Public signature: /A.y.<get-y>|-6745575372101973707[0]
|
||||
// Public signature debug description: <get-y>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#<get-y>(){}
|
||||
// Public signature: /A.y.<get-y>|-7902422373892128922[0]
|
||||
// Public signature debug description: <get-y>(){}
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /A.<init>|-7691762014320324121[0]
|
||||
// Public signature debug description: <init>(kotlin.Int;kotlin.Int){}
|
||||
constructor(x: Int, y: Int) /* primary */
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#component1(){}kotlin.Int
|
||||
// Public signature: /A.component1|-8217597213800111288[0]
|
||||
// Public signature debug description: component1(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#component1(){}
|
||||
// Public signature: /A.component1|162597135895221648[0]
|
||||
// Public signature debug description: component1(){}
|
||||
operator fun component1(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#component2(){}kotlin.Int
|
||||
// Public signature: /A.component2|-7444333055342785242[0]
|
||||
// Public signature debug description: component2(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#component2(){}
|
||||
// Public signature: /A.component2|3796717572321500973[0]
|
||||
// Public signature debug description: component2(){}
|
||||
operator fun component2(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#copy(kotlin.Int;kotlin.Int){}A
|
||||
// Public signature: /A.copy|1926272323689019234[0]
|
||||
// Public signature debug description: copy(kotlin.Int;kotlin.Int){}A
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#copy(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /A.copy|4382504155595030584[0]
|
||||
// Public signature debug description: copy(kotlin.Int;kotlin.Int){}
|
||||
fun copy(x: Int, y: Int): A
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /A.equals|722809408929142791[0]
|
||||
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#equals(kotlin.Any?){}
|
||||
// Public signature: /A.equals|4638265728071529943[0]
|
||||
// Public signature debug description: equals(kotlin.Any?){}
|
||||
override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#hashCode(){}kotlin.Int
|
||||
// Public signature: /A.hashCode|-8048879360829830756[0]
|
||||
// Public signature debug description: hashCode(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#hashCode(){}
|
||||
// Public signature: /A.hashCode|3409210261493131192[0]
|
||||
// Public signature debug description: hashCode(){}
|
||||
override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#toString(){}kotlin.String
|
||||
// Public signature: /A.toString|6958853723545266802[0]
|
||||
// Public signature debug description: toString(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#toString(){}
|
||||
// Public signature: /A.toString|-1522858123163872138[0]
|
||||
// Public signature debug description: toString(){}
|
||||
override fun toString(): String
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user