[FIR, IR] Fix name mangling for functions with context receivers
- Mangled names of property accessors now include context receiver types of the corresponding property when computed from FIR. - Context receivers are now supported when computing mangled names from IR - IrBasedDescriptors now account for context receivers ^KT-57435 Fixed
This commit is contained in:
committed by
Space Team
parent
5700212119
commit
1a29b9efff
+2
-4
@@ -33,12 +33,10 @@ interface B {
|
||||
// Public signature: /c|-4416962153448040627[0]
|
||||
val c: Int
|
||||
// CHECK JVM_IR:
|
||||
// Mangled name computed from Ir: #<get-c>(A;B){}kotlin.Int
|
||||
// Mangled name computed from Descriptor: #<get-c>!A!B(){}kotlin.Int
|
||||
// Mangled name: #<get-c>!A!B(){}kotlin.Int
|
||||
// Public signature: /c.<get-c>|-2082007887378586898[0]
|
||||
// CHECK JS_IR NATIVE:
|
||||
// Mangled name computed from Ir: #<get-c>(A;B){}
|
||||
// Mangled name computed from Descriptor: #<get-c>!A!B(){}
|
||||
// Mangled name: #<get-c>!A!B(){}
|
||||
// Public signature: /c.<get-c>|2760865531401172403[0]
|
||||
get($context_receiver_0: A, $context_receiver_1: B): Int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user