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 { ): IrSimpleFunction {
val prefix = if (isSetter) "set" else "get" val prefix = if (isSetter) "set" else "get"
val signature = if (isLocal) null else signatureComposer.composeAccessorSignature(property, isSetter) val signature = if (isLocal) null else signatureComposer.composeAccessorSignature(property, isSetter)
val containerSource = val containerSource = correspondingProperty.containerSource
(correspondingProperty.descriptor as? WrappedPropertyDescriptorWithContainerSource)?.containerSource
return declareIrAccessor( return declareIrAccessor(
signature, signature,
containerSource, containerSource,