[IR] Unbind construction methods of IrPropertyImpl from symbol.descriptor

This commit is contained in:
Mikhail Glukhikh
2020-05-18 18:21:58 +03:00
parent 7840adde12
commit ab15a88ce4
5 changed files with 83 additions and 25 deletions
@@ -205,7 +205,7 @@ interface IrBuilderExtension {
assert(irPropertySymbol.isBound || declare)
if (declare) {
IrPropertyImpl(propertyParent.startOffset, propertyParent.endOffset, SERIALIZABLE_PLUGIN_ORIGIN, irPropertySymbol).also {
IrPropertyImpl(propertyParent.startOffset, propertyParent.endOffset, SERIALIZABLE_PLUGIN_ORIGIN, propertyDescriptor, irPropertySymbol).also {
it.parent = propertyParent
propertyParent.addMember(it)
}