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

This commit is contained in:
Mikhail Glukhikh
2020-05-18 18:58:10 +03:00
parent ab15a88ce4
commit 03f2c6d38a
4 changed files with 25 additions and 30 deletions
@@ -234,7 +234,7 @@ interface IrBuilderExtension {
return originProperty.run {
// TODO: type parameters
IrFieldImpl(startOffset, endOffset, SERIALIZABLE_PLUGIN_ORIGIN, fieldSymbol, propertyDescriptor.type.toIrType())
IrFieldImpl(startOffset, endOffset, SERIALIZABLE_PLUGIN_ORIGIN, propertyDescriptor, propertyDescriptor.type.toIrType(), symbol = fieldSymbol)
}
}