IR: remove deprecated constructors of IrPropertyImpl

This commit is contained in:
Alexander Udalov
2020-07-06 21:39:13 +02:00
parent 501fea1202
commit d8a2b92098
2 changed files with 8 additions and 90 deletions
@@ -232,9 +232,14 @@ interface IrBuilderExtension {
assert(irPropertySymbol.isBound || declare)
if (declare) {
IrPropertyImpl(propertyParent.startOffset, propertyParent.endOffset, SERIALIZABLE_PLUGIN_ORIGIN, propertyDescriptor, irPropertySymbol).also {
it.parent = propertyParent
propertyParent.addMember(it)
with(propertyDescriptor) {
IrPropertyImpl(
propertyParent.startOffset, propertyParent.endOffset, SERIALIZABLE_PLUGIN_ORIGIN, irPropertySymbol,
name, visibility, modality, isVar, isConst, isLateInit, isDelegated, isExternal
).also {
it.parent = propertyParent
propertyParent.addMember(it)
}
}
}
val irProperty = irPropertySymbol.owner