Fir2Ir: bug fix

This commit is contained in:
Georgy Bronnikov
2020-08-11 18:41:07 +03:00
parent 8a098545e6
commit d2fda2a07c
@@ -523,8 +523,7 @@ class Fir2IrDeclarationStorage(
): IrSimpleFunction {
val prefix = if (isSetter) "set" else "get"
val signature = if (isLocal) null else signatureComposer.composeAccessorSignature(property, isSetter)
val containerSource =
(correspondingProperty.descriptor as? WrappedPropertyDescriptorWithContainerSource)?.containerSource
val containerSource = correspondingProperty.containerSource
return declareIrAccessor(
signature,
containerSource,