[FE] Add getContextReceivers to CallableDescriptor interface
This commit is contained in:
committed by
TeamCityServer
parent
7de8380ddf
commit
a39fbd3822
+1
-1
@@ -375,7 +375,7 @@ class JavaSyntheticPropertiesScope(
|
||||
val receiverType = typeSubstitutor.safeSubstitute(ownerClass.defaultType, Variance.INVARIANT)
|
||||
descriptor.setType(
|
||||
propertyType, typeParameters, null,
|
||||
DescriptorFactory.createExtensionReceiverParameterForCallable(descriptor, receiverType, Annotations.EMPTY)
|
||||
DescriptorFactory.createExtensionReceiverParameterForCallable(descriptor, receiverType, Annotations.EMPTY), emptyList()
|
||||
)
|
||||
|
||||
val getter = PropertyGetterDescriptorImpl(
|
||||
|
||||
+1
-1
@@ -338,7 +338,7 @@ class SamAdapterFunctionsScope(
|
||||
val visibility = syntheticVisibility(sourceFunction, isUsedForExtension = false)
|
||||
|
||||
descriptor.initialize(
|
||||
null, ownerClass.thisAsReceiverParameter, typeParameters, valueParameters, returnType,
|
||||
null, ownerClass.thisAsReceiverParameter, emptyList(), typeParameters, valueParameters, returnType,
|
||||
Modality.FINAL, visibility
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user