[FIR] FirFakeOverrideGenerator: add missed annotations on copied accessors
^KT-63361
This commit is contained in:
committed by
Space Team
parent
fb087ff7e3
commit
c1094d8046
+2
-2
@@ -459,7 +459,7 @@ object FirFakeOverrideGenerator {
|
||||
effectiveVisibility = effectiveVisibility,
|
||||
resolvePhase = resolvePhase,
|
||||
).apply {
|
||||
replaceAnnotations(annotations)
|
||||
replaceAnnotations(this@buildCopy.annotations)
|
||||
}
|
||||
is FirDefaultPropertySetter -> FirDefaultPropertySetter(
|
||||
source = source,
|
||||
@@ -472,7 +472,7 @@ object FirFakeOverrideGenerator {
|
||||
effectiveVisibility = effectiveVisibility,
|
||||
resolvePhase = resolvePhase,
|
||||
).apply {
|
||||
replaceAnnotations(annotations)
|
||||
replaceAnnotations(this@buildCopy.annotations)
|
||||
}
|
||||
else -> buildPropertyAccessorCopy(this) {
|
||||
this.symbol = FirPropertyAccessorSymbol()
|
||||
|
||||
Reference in New Issue
Block a user