[FIR] Don't miss annotations on properties from primary constructors
^KT-64609 Fixed
This commit is contained in:
committed by
Space Team
parent
1f46aed3e0
commit
9c0ac27307
Vendored
-19
@@ -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
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-64609
|
||||
|
||||
package second
|
||||
|
||||
Reference in New Issue
Block a user