[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
+24
@@ -9,6 +9,9 @@ class A {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: A#<get-a>(){}kotlin.Any?
|
||||
// Public signature: /A.a.<get-a>|-5253003527138676623[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: A#<get-a>(){}
|
||||
// Public signature: /A.a.<get-a>|6785176174175479410[0]
|
||||
get
|
||||
|
||||
// CHECK:
|
||||
@@ -30,6 +33,9 @@ class Context {
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: Context#c(){}kotlin.Int
|
||||
// Public signature: /Context.c|-7090409735962961857[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: Context#c(){}
|
||||
// Public signature: /Context.c|-2724918380551733646[0]
|
||||
fun c(): Int
|
||||
|
||||
}
|
||||
@@ -37,30 +43,48 @@ class Context {
|
||||
// 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: #testInline!Context(){}kotlin.Int
|
||||
// Public signature: /testInline|2700554304824268037[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInline!Context(){}
|
||||
// Public signature: /testInline|-4531301230787846989[0]
|
||||
inline fun testInline($context_receiver_0: Context): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInlineWithArg!Context(kotlin.Int){}kotlin.Int
|
||||
// Public signature: /testInlineWithArg|9204994988875814257[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInlineWithArg!Context(kotlin.Int){}
|
||||
// Public signature: /testInlineWithArg|-6441098303310197415[0]
|
||||
inline fun testInlineWithArg($context_receiver_0: Context, i: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInlineWithExtensionAndArg!Context@kotlin.Int(kotlin.Int){}kotlin.Int
|
||||
// Public signature: /testInlineWithExtensionAndArg|-7753885706218316674[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInlineWithExtensionAndArg!Context@kotlin.Int(kotlin.Int){}
|
||||
// Public signature: /testInlineWithExtensionAndArg|642168423595809182[0]
|
||||
inline fun Int.testInlineWithExtensionAndArg($context_receiver_0: Context, i: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInlineWithExtensionAndMultipleArgs!Context@kotlin.Int(kotlin.Int;kotlin.Int){}kotlin.Int
|
||||
// Public signature: /testInlineWithExtensionAndMultipleArgs|6839067967550411636[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInlineWithExtensionAndMultipleArgs!Context@kotlin.Int(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /testInlineWithExtensionAndMultipleArgs|2396628518140949199[0]
|
||||
inline fun Int.testInlineWithExtensionAndMultipleArgs($context_receiver_0: Context, i1: Int, i2: Int): Int
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name: #testInlineWithExtensionAndMultipleContextsAndArgs!Context!A@kotlin.Int(kotlin.Int;kotlin.Int){}kotlin.Int
|
||||
// Public signature: /testInlineWithExtensionAndMultipleContextsAndArgs|4315160499148454711[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #testInlineWithExtensionAndMultipleContextsAndArgs!Context!A@kotlin.Int(kotlin.Int;kotlin.Int){}
|
||||
// Public signature: /testInlineWithExtensionAndMultipleContextsAndArgs|-8262798201429708713[0]
|
||||
inline fun Int.testInlineWithExtensionAndMultipleContextsAndArgs($context_receiver_0: Context, $context_receiver_1: A, i1: Int, i2: Int): Int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user