[klib] Test signature descriptions in irText tests
KT-59486
This commit is contained in:
committed by
Space Team
parent
6142d75bb4
commit
5e63f7627f
Vendored
+26
@@ -1,17 +1,21 @@
|
||||
// CHECK:
|
||||
// Mangled name: {}operationScore
|
||||
// Public signature: /operationScore|-9073278321118823634[0]
|
||||
// Public signature debug description: {}operationScore
|
||||
var operationScore: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-operationScore>(){}kotlin.Int
|
||||
// Public signature: /operationScore.<get-operationScore>|7107010356269447258[0]
|
||||
// Public signature debug description: <get-operationScore>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-operationScore>(){}
|
||||
// Public signature: /operationScore.<get-operationScore>|6765204501149451629[0]
|
||||
// Public signature debug description: <get-operationScore>(){}
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: #<set-operationScore>(kotlin.Int){}
|
||||
// Public signature: /operationScore.<set-operationScore>|1936076120216071025[0]
|
||||
// Public signature debug description: <set-operationScore>(kotlin.Int){}
|
||||
set
|
||||
|
||||
// CHECK:
|
||||
@@ -21,61 +25,76 @@ data class MyContainer {
|
||||
// CHECK:
|
||||
// Mangled name: MyContainer{}i
|
||||
// Public signature: /MyContainer.i|5014384761142332495[0]
|
||||
// Public signature debug description: {}i
|
||||
var i: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#<get-i>(){}kotlin.Int
|
||||
// Public signature: /MyContainer.i.<get-i>|-8784396159001927527[0]
|
||||
// Public signature debug description: <get-i>(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#<get-i>(){}
|
||||
// Public signature: /MyContainer.i.<get-i>|6945482638966853621[0]
|
||||
// Public signature debug description: <get-i>(){}
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: MyContainer#<set-i>(kotlin.Int){}
|
||||
// Public signature: /MyContainer.i.<set-i>|1223530399758590178[0]
|
||||
// Public signature debug description: <set-i>(kotlin.Int){}
|
||||
set
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: MyContainer#<init>(kotlin.Int){}
|
||||
// Public signature: /MyContainer.<init>|-5182794243525578284[0]
|
||||
// Public signature debug description: <init>(kotlin.Int){}
|
||||
constructor(i: Int) /* primary */
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#component1(){}kotlin.Int
|
||||
// Public signature: /MyContainer.component1|-8217597213800111288[0]
|
||||
// Public signature debug description: component1(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#component1(){}
|
||||
// Public signature: /MyContainer.component1|162597135895221648[0]
|
||||
// Public signature debug description: component1(){}
|
||||
operator fun component1(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#copy(kotlin.Int){}MyContainer
|
||||
// Public signature: /MyContainer.copy|-2712595066263545556[0]
|
||||
// Public signature debug description: copy(kotlin.Int){}MyContainer
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#copy(kotlin.Int){}
|
||||
// Public signature: /MyContainer.copy|-6971662324481626298[0]
|
||||
// Public signature debug description: copy(kotlin.Int){}
|
||||
fun copy(i: Int): MyContainer
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /MyContainer.equals|722809408929142791[0]
|
||||
// Public signature debug description: equals(kotlin.Any?){}kotlin.Boolean
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#equals(kotlin.Any?){}
|
||||
// Public signature: /MyContainer.equals|4638265728071529943[0]
|
||||
// Public signature debug description: equals(kotlin.Any?){}
|
||||
override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#hashCode(){}kotlin.Int
|
||||
// Public signature: /MyContainer.hashCode|-8048879360829830756[0]
|
||||
// Public signature debug description: hashCode(){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#hashCode(){}
|
||||
// Public signature: /MyContainer.hashCode|3409210261493131192[0]
|
||||
// Public signature debug description: hashCode(){}
|
||||
override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: MyContainer#toString(){}kotlin.String
|
||||
// Public signature: /MyContainer.toString|6958853723545266802[0]
|
||||
// Public signature debug description: toString(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: MyContainer#toString(){}
|
||||
// Public signature: /MyContainer.toString|-1522858123163872138[0]
|
||||
// Public signature debug description: toString(){}
|
||||
override fun toString(): String
|
||||
|
||||
}
|
||||
@@ -83,29 +102,36 @@ data class MyContainer {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// Public signature debug description: box(){}kotlin.String
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
// Public signature debug description: box(){}
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #get!kotlin.Int@MyContainer(kotlin.Int){}kotlin.Int
|
||||
// Public signature: /get|-3979760669169671321[0]
|
||||
// Public signature debug description: get!kotlin.Int@MyContainer(kotlin.Int){}kotlin.Int
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #get!kotlin.Int@MyContainer(kotlin.Int){}
|
||||
// Public signature: /get|1971890742879799630[0]
|
||||
// Public signature debug description: get!kotlin.Int@MyContainer(kotlin.Int){}
|
||||
operator fun MyContainer.get($context_receiver_0: Int, index: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #inc!kotlin.Int@MyContainer(){}MyContainer
|
||||
// Public signature: /inc|-8228731243470619532[0]
|
||||
// Public signature debug description: inc!kotlin.Int@MyContainer(){}MyContainer
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #inc!kotlin.Int@MyContainer(){}
|
||||
// Public signature: /inc|-5486555486431504906[0]
|
||||
// Public signature debug description: inc!kotlin.Int@MyContainer(){}
|
||||
operator fun MyContainer.inc($context_receiver_0: Int): MyContainer
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #plusAssign!kotlin.Int@MyContainer(MyContainer){}
|
||||
// Public signature: /plusAssign|677104996565540010[0]
|
||||
// Public signature debug description: plusAssign!kotlin.Int@MyContainer(MyContainer){}
|
||||
operator fun MyContainer.plusAssign($context_receiver_0: Int, other: MyContainer): Unit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user