Introduce interface method: VariableDescriptor.isConst
And several default implementations Also take it into account in renderer
This commit is contained in:
+2
-1
@@ -261,7 +261,8 @@ class JavaSyntheticPropertiesScope(storageManager: StorageManager) : JetScopeImp
|
||||
kind: CallableMemberDescriptor.Kind,
|
||||
source: SourceElement
|
||||
) : SyntheticJavaPropertyDescriptor, PropertyDescriptorImpl(containingDeclaration, original, annotations,
|
||||
modality, visibility, isVar, name, kind, source, false) {
|
||||
modality, visibility, isVar, name, kind, source,
|
||||
/* lateInit = */ false, /* isConst = */ false) {
|
||||
|
||||
override var getMethod: FunctionDescriptor by Delegates.notNull()
|
||||
private set
|
||||
|
||||
Reference in New Issue
Block a user