[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
+19
-1
@@ -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 @@ class Delegate {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Delegate#<get-delegateValue>(){}kotlin.String
|
||||
// Public signature: /Delegate.delegateValue.<get-delegateValue>|-8802990183041924458[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Delegate#<get-delegateValue>(){}
|
||||
// Public signature: /Delegate.delegateValue.<get-delegateValue>|442512873020605275[0]
|
||||
get
|
||||
// CHECK:
|
||||
// Mangled name: Delegate#<set-delegateValue>(kotlin.String){}
|
||||
@@ -36,6 +42,9 @@ class Delegate {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Delegate#getValue!kotlin.Int(kotlin.Any?;kotlin.reflect.KProperty<*>){}kotlin.String
|
||||
// Public signature: /Delegate.getValue|-7764345795816801347[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Delegate#getValue!kotlin.Int(kotlin.Any?;kotlin.reflect.KProperty<*>){}
|
||||
// Public signature: /Delegate.getValue|-415138418502969483[0]
|
||||
operator fun getValue($context_receiver_0: Int, thisRef: Any?, property: KProperty<*>): String
|
||||
|
||||
// CHECK:
|
||||
@@ -56,6 +65,9 @@ class Result {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Result#<get-s>(){}kotlin.String
|
||||
// Public signature: /Result.s.<get-s>|4142379646177092803[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Result#<get-s>(){}
|
||||
// Public signature: /Result.s.<get-s>|-1662172381559511151[0]
|
||||
get(): String
|
||||
// CHECK:
|
||||
// Mangled name: Result#<set-s>(kotlin.String){}
|
||||
@@ -66,9 +78,12 @@ class Result {
|
||||
// Mangled name: Result#<init>!kotlin.Int(){}
|
||||
// Public signature: /Result.<init>|-1392650824251324893[0]
|
||||
constructor($context_receiver_0: Int) /* primary */
|
||||
// CHECK:
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: Result.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: Result{}contextReceiverField0#jf
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: Result.contextReceiverField0
|
||||
// Mangled name computed from Descriptor: Result{}contextReceiverField0
|
||||
private /* final field */ val contextReceiverField0: Int
|
||||
|
||||
}
|
||||
@@ -76,5 +91,8 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user