[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
@@ -3,8 +3,7 @@
|
||||
// Public signature: /Inner|null[0]
|
||||
class Inner {
|
||||
// CHECK:
|
||||
// Mangled name computed from Ir: Inner#<init>(Outer;kotlin.Any){}
|
||||
// Mangled name computed from Descriptor: Inner#<init>!Outer(kotlin.Any){}
|
||||
// Mangled name: Inner#<init>!Outer(kotlin.Any){}
|
||||
// Public signature: /Inner.<init>|7428094623108856579[0]
|
||||
constructor($context_receiver_0: Outer, arg: Any) /* primary */
|
||||
// CHECK:
|
||||
|
||||
Reference in New Issue
Block a user