Support platform/impl modifiers for properties
Do not allow platform properties to have backing fields, initializers, be delegated, lateinit or const, or have accessors with bodies
This commit is contained in:
@@ -50,16 +50,18 @@ abstract class IrDelegateDescriptorBase(
|
||||
delegateType: KotlinType
|
||||
) : PropertyDescriptorImpl(
|
||||
containingDeclaration,
|
||||
null, // original
|
||||
/* original = */ null,
|
||||
Annotations.EMPTY,
|
||||
Modality.FINAL,
|
||||
Visibilities.PRIVATE,
|
||||
false, // isVar
|
||||
/* isVar = */ false,
|
||||
name,
|
||||
CallableMemberDescriptor.Kind.SYNTHESIZED,
|
||||
SourceElement.NO_SOURCE,
|
||||
false, // lateInit
|
||||
false // isConst
|
||||
/* lateInit = */ false,
|
||||
/* isConst = */ false,
|
||||
/* isPlatform = */ false,
|
||||
/* isImpl = */ false
|
||||
) {
|
||||
init {
|
||||
setOutType(delegateType)
|
||||
|
||||
Reference in New Issue
Block a user