[FE] Pass context receiver parameters where necessary

This commit is contained in:
Anastasiya Shadrina
2021-02-03 15:55:48 +07:00
committed by TeamCityServer
parent a39fbd3822
commit c5687e080d
4 changed files with 48 additions and 7 deletions
@@ -97,8 +97,11 @@ open class AccessorForPropertyDescriptor private constructor(
init {
setType(
propertyType, emptyList<TypeParameterDescriptorImpl>(), dispatchReceiverParameter,
DescriptorFactory.createExtensionReceiverParameterForCallable(this, receiverType, Annotations.EMPTY), emptyList() // TODO: Pass context receivers
propertyType,
emptyList<TypeParameterDescriptorImpl>(),
dispatchReceiverParameter,
DescriptorFactory.createExtensionReceiverParameterForCallable(this, receiverType, Annotations.EMPTY),
original.contextReceiverParameters
)
val getterDescriptor =