[FIR2IR] Align object receiver generation with K1

#KT-59548 Fixed
This commit is contained in:
Kirill Rakhman
2023-07-18 16:07:46 +02:00
committed by Space Team
parent 14327d51ed
commit c605cb9855
7 changed files with 68 additions and 297 deletions
@@ -76,6 +76,12 @@ object Z {
// Public signature debug description: <init>(){}
private constructor() /* primary */
// CHECK:
// Mangled name: Z#aFun(){}
// Public signature: /Z.aFun|-596272525427331003[0]
// Public signature debug description: aFun(){}
fun aFun(): Unit
// CHECK:
// Mangled name: Z#bar(){}
// Public signature: /Z.bar|496682602797471549[0]
@@ -96,3 +102,9 @@ object Z {
// Public signature debug description: test@Z(){}
fun Z.test(): Unit
// CHECK:
// Mangled name: #withLambda(kotlin.Function0<kotlin.Unit>){}
// Public signature: /withLambda|-1561447572468305971[0]
// Public signature debug description: withLambda(kotlin.Function0<kotlin.Unit>){}
fun withLambda(f: Function0<Unit>): Unit