IR: copy IrProperty's attributes in deepCopyWithSymbols
This commit is contained in:
@@ -228,6 +228,7 @@ open class DeepCopyIrTreeWithSymbols(
|
|||||||
containerSource = declaration.containerSource,
|
containerSource = declaration.containerSource,
|
||||||
).apply {
|
).apply {
|
||||||
transformAnnotations(declaration)
|
transformAnnotations(declaration)
|
||||||
|
copyAttributes(declaration)
|
||||||
this.backingField = declaration.backingField?.transform()?.also {
|
this.backingField = declaration.backingField?.transform()?.also {
|
||||||
it.correspondingPropertySymbol = symbol
|
it.correspondingPropertySymbol = symbol
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user