[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
+1
-2
@@ -28,8 +28,7 @@ fun bar(c: C): Unit
|
||||
local fun C.<anonymous>(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name computed from Ir: #foo(C){}
|
||||
// Mangled name computed from Descriptor: #foo!C(){}
|
||||
// Mangled name: #foo!C(){}
|
||||
// Public signature: /foo|-1491377105373055541[0]
|
||||
fun foo($context_receiver_0: C): Unit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user