[FIR] Don't miss annotations on properties from primary constructors

^KT-64609 Fixed
This commit is contained in:
Nikolay Lunyak
2024-01-03 14:45:48 +02:00
committed by Space Team
parent 1f46aed3e0
commit 9c0ac27307
6 changed files with 26 additions and 36 deletions
@@ -1,19 +0,0 @@
// ISSUE: KT-64609
package second
annotation class Anno
class SimpleVarClass(
@Anno
@get:Anno
@set:Anno
@setparam:Anno
val constructorVariableWithAnnotations: Long,
) {
@Anno
@get:Anno
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@set:Anno<!>
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@setparam:Anno<!>
val memberVariableWithAnnotations: Long = 0L
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// ISSUE: KT-64609
package second