[FIR2IR] Generate annotations on delegated property accessors

^KT-64466 Fixed
This commit is contained in:
Dmitriy Novozhilov
2024-01-11 13:41:09 +02:00
committed by Space Team
parent 50abaaff7e
commit 6dd0992288
4 changed files with 32 additions and 1 deletions
@@ -36,6 +36,10 @@ class Delegated : Base {
// Mangled name: Delegated#<get-prop>(){}kotlin.Int
// Public signature: /Delegated.prop.<get-prop>|-2094203252476742575[0]
// Public signature debug description: <get-prop>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Delegated#<get-prop>(){}
// Public signature: /Delegated.prop.<get-prop>|-5734736374948136327[0]
// Public signature debug description: <get-prop>(){}
override get(): Int
// CHECK:
@@ -47,6 +51,10 @@ class Delegated : Base {
// Mangled name: Delegated#<get-propWithAccessors>(){}kotlin.Int
// Public signature: /Delegated.propWithAccessors.<get-propWithAccessors>|1392907778891534138[0]
// Public signature debug description: <get-propWithAccessors>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Delegated#<get-propWithAccessors>(){}
// Public signature: /Delegated.propWithAccessors.<get-propWithAccessors>|5253508570158188209[0]
// Public signature debug description: <get-propWithAccessors>(){}
@Ann
override get(): Int
// CHECK:
@@ -79,6 +87,10 @@ interface Base {
// Mangled name: Base#<get-prop>(){}kotlin.Int
// Public signature: /Base.prop.<get-prop>|-2094203252476742575[0]
// Public signature debug description: <get-prop>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Base#<get-prop>(){}
// Public signature: /Base.prop.<get-prop>|-5734736374948136327[0]
// Public signature debug description: <get-prop>(){}
abstract get
// CHECK:
@@ -90,6 +102,10 @@ interface Base {
// Mangled name: Base#<get-propWithAccessors>(){}kotlin.Int
// Public signature: /Base.propWithAccessors.<get-propWithAccessors>|1392907778891534138[0]
// Public signature debug description: <get-propWithAccessors>(){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: Base#<get-propWithAccessors>(){}
// Public signature: /Base.propWithAccessors.<get-propWithAccessors>|5253508570158188209[0]
// Public signature debug description: <get-propWithAccessors>(){}
@Ann
abstract get
// CHECK:
@@ -100,3 +116,4 @@ interface Base {
abstract set
}