[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
+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:
|
||||
@@ -31,26 +37,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
|
||||
|
||||
}
|
||||
@@ -58,25 +79,40 @@ 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: #dec!kotlin.Int@Result(){}Result
|
||||
// Public signature: /dec|6054584114651390969[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #dec!kotlin.Int@Result(){}
|
||||
// Public signature: /dec|-7224087074051473472[0]
|
||||
operator fun Result.dec($context_receiver_0: Int): Result
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #inc!kotlin.Int@Result(){}Result
|
||||
// Public signature: /inc|-6349683016158919485[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #inc!kotlin.Int@Result(){}
|
||||
// Public signature: /inc|6156460640001049173[0]
|
||||
operator fun Result.inc($context_receiver_0: Int): Result
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #unaryMinus!kotlin.Int@Result(){}Result
|
||||
// Public signature: /unaryMinus|-8891797954767898088[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #unaryMinus!kotlin.Int@Result(){}
|
||||
// Public signature: /unaryMinus|-1245437128467335194[0]
|
||||
operator fun Result.unaryMinus($context_receiver_0: Int): Result
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #unaryPlus!kotlin.Int@Result(){}Result
|
||||
// Public signature: /unaryPlus|6329022242309077522[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #unaryPlus!kotlin.Int@Result(){}
|
||||
// Public signature: /unaryPlus|-4073638544609631[0]
|
||||
operator fun Result.unaryPlus($context_receiver_0: Int): Result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user