[IR] Don't print multifile/synthetic facade class names in irText tests
This only applies to JVM and fq-names in declaration references in IR dumps. This enables us to run more irText tests on platforms other than JVM (see KT-58605).
This commit is contained in:
committed by
Space Team
parent
cc76bbd09d
commit
f2031ae642
Vendored
+36
@@ -5,6 +5,9 @@ var operationScore: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #<get-operationScore>(){}kotlin.Int
|
||||
// Public signature: /operationScore.<get-operationScore>|7107010356269447258[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #<get-operationScore>(){}
|
||||
// Public signature: /operationScore.<get-operationScore>|6765204501149451629[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: #<set-operationScore>(kotlin.Int){}
|
||||
@@ -22,6 +25,9 @@ data class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#<get-i>(){}kotlin.Int
|
||||
// Public signature: /Result.i.<get-i>|-8784396159001927527[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#<get-i>(){}
|
||||
// Public signature: /Result.i.<get-i>|6945482638966853621[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: Result#<set-i>(kotlin.Int){}
|
||||
@@ -35,26 +41,41 @@ data class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#component1(){}kotlin.Int
|
||||
// Public signature: /Result.component1|-8217597213800111288[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#component1(){}
|
||||
// Public signature: /Result.component1|162597135895221648[0]
|
||||
operator fun component1(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#copy(kotlin.Int){}Result
|
||||
// Public signature: /Result.copy|5439238034196076859[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#copy(kotlin.Int){}
|
||||
// Public signature: /Result.copy|-6971662324481626298[0]
|
||||
fun copy(i: Int): Result
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#equals(kotlin.Any?){}kotlin.Boolean
|
||||
// Public signature: /Result.equals|722809408929142791[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#equals(kotlin.Any?){}
|
||||
// Public signature: /Result.equals|4638265728071529943[0]
|
||||
override operator fun equals(other: Any?): Boolean
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#hashCode(){}kotlin.Int
|
||||
// Public signature: /Result.hashCode|-8048879360829830756[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#hashCode(){}
|
||||
// Public signature: /Result.hashCode|3409210261493131192[0]
|
||||
override fun hashCode(): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#toString(){}kotlin.String
|
||||
// Public signature: /Result.toString|6958853723545266802[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#toString(){}
|
||||
// Public signature: /Result.toString|-1522858123163872138[0]
|
||||
override fun toString(): String
|
||||
|
||||
}
|
||||
@@ -62,11 +83,17 @@ data class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #box(){}kotlin.String
|
||||
// Public signature: /box|-9347091776561469[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #box(){}
|
||||
// Public signature: /box|2173511048851971368[0]
|
||||
fun box(): String
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #div!kotlin.Int@Result(Result){}Result
|
||||
// Public signature: /div|4720798164978030724[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #div!kotlin.Int@Result(Result){}
|
||||
// Public signature: /div|-6612286148996821840[0]
|
||||
operator fun Result.div($context_receiver_0: Int, other: Result): Result
|
||||
|
||||
// CHECK:
|
||||
@@ -77,6 +104,9 @@ operator fun Result.divAssign($context_receiver_0: Int, other: Result): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #minus!kotlin.Int@Result(Result){}Result
|
||||
// Public signature: /minus|3968749932240310139[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #minus!kotlin.Int@Result(Result){}
|
||||
// Public signature: /minus|7405496643337842736[0]
|
||||
operator fun Result.minus($context_receiver_0: Int, other: Result): Result
|
||||
|
||||
// CHECK:
|
||||
@@ -87,6 +117,9 @@ operator fun Result.minusAssign($context_receiver_0: Int, other: Result): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #plus!kotlin.Int@Result(Result){}Result
|
||||
// Public signature: /plus|4903222358721452198[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #plus!kotlin.Int@Result(Result){}
|
||||
// Public signature: /plus|-114755674860389360[0]
|
||||
operator fun Result.plus($context_receiver_0: Int, other: Result): Result
|
||||
|
||||
// CHECK:
|
||||
@@ -97,6 +130,9 @@ operator fun Result.plusAssign($context_receiver_0: Int, other: Result): Unit
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #times!kotlin.Int@Result(Result){}Result
|
||||
// Public signature: /times|3621876074874527655[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #times!kotlin.Int@Result(Result){}
|
||||
// Public signature: /times|690380606170453948[0]
|
||||
operator fun Result.times($context_receiver_0: Int, other: Result): Result
|
||||
|
||||
// CHECK:
|
||||
|
||||
Reference in New Issue
Block a user