IR text tests: Don't dump signatures for local declarations
1. Local declarations don't participate in IR-linkage, because they can be referenced only inside the same body -> can be dropped from IR text tests. 2. Mangled names for private declarations computed by descriptors/fir are actually not used anywhere (they are recomputed by IR immediately before serialization of IR). But sometimes such mangled names diverge between K1 and K2 -> don't check them, but always check mangled names computed by IR even for private declarations. 3. Also: Drop DUMP_LOCAL_DECLARATION_SIGNATURES test directive. ^KT-57428 Obsolete ^KT-57430 Obsolete ^KT-57434 Obsolete ^KT-57778 Obsolete ^KT-57775 Obsolete
This commit is contained in:
committed by
Space Team
parent
514ae0c813
commit
02604060ae
@@ -70,13 +70,9 @@ class Expression {
|
||||
|
||||
}
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// CHECK:
|
||||
// Mangled name: #countIssues(kotlin.Function1<ArgumentsBuilder,kotlin.Unit>){}
|
||||
// Mangled name for the signature: countIssues(kotlin.Function1<ArgumentsBuilder,kotlin.Unit>){}
|
||||
// Public signature: [ File 'timesInBuilder.kt' <- /countIssues|-3006686104129982000[0] ]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #countIssues(kotlin.Function1<ArgumentsBuilder,kotlin.Unit>){}
|
||||
// Mangled name for the signature: countIssues(kotlin.Function1<ArgumentsBuilder,kotlin.Unit>){}
|
||||
// Public signature: [ File '/timesInBuilder.kt' <- /countIssues|-3006686104129982000[0] ]
|
||||
private fun countIssues(restrictionsBuilder: @ExtensionFunctionType Function1<ArgumentsBuilder, Unit>): Unit
|
||||
|
||||
// CHECK JVM_IR:
|
||||
@@ -119,12 +115,8 @@ infix fun <T : Comparable<T>> Column.lessEq(t: T): Expression
|
||||
// Public signature debug description: select@Column(0:0;0:0){0§<kotlin.Comparable<0:0>>}
|
||||
fun <T : Comparable<T>> Column.select(t: T, r: T): Expression
|
||||
|
||||
// CHECK JVM_IR:
|
||||
// CHECK:
|
||||
// Mangled name: #test(kotlin.Long){}
|
||||
// Mangled name for the signature: test(kotlin.Long){}
|
||||
// Public signature: [ File 'timesInBuilder.kt' <- /test|-2956403500052581138[0] ]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name: #test(kotlin.Long){}
|
||||
// Mangled name for the signature: test(kotlin.Long){}
|
||||
// Public signature: [ File '/timesInBuilder.kt' <- /test|-2956403500052581138[0] ]
|
||||
private fun test(x: Long): Unit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user