Drop PropertyDescriptorImpl.setType that takes KotlinType
Only use the other setType that takes an instance of ReceiverParameterDescriptor. This will make sure that call sites can use correct receiver annotations
This commit is contained in:
+2
-1
@@ -123,7 +123,8 @@ private fun genProperty(
|
||||
flexibleType,
|
||||
emptyList<TypeParameterDescriptor>(),
|
||||
null,
|
||||
receiverType)
|
||||
DescriptorFactory.createExtensionReceiverParameterForCallable(property, receiverType, Annotations.EMPTY)
|
||||
)
|
||||
|
||||
val getter = PropertyGetterDescriptorImpl(
|
||||
property,
|
||||
|
||||
Reference in New Issue
Block a user