Minor. Pull user-data related things to CallableDescriptor
Currently, we assume user data for all non-FunctionDescriptor declarations is empty
This commit is contained in:
+2
-2
@@ -47,7 +47,7 @@ abstract class IrBuiltinOperatorDescriptorBase(containingDeclaration: Declaratio
|
||||
override fun getKind(): CallableMemberDescriptor.Kind = CallableMemberDescriptor.Kind.SYNTHESIZED
|
||||
override fun getInitialSignatureDescriptor(): FunctionDescriptor? = null
|
||||
override fun isExternal(): Boolean = false
|
||||
override fun <V : Any> getUserData(key: FunctionDescriptor.UserDataKey<V>?): V? = null
|
||||
override fun <V : Any> getUserData(key: CallableDescriptor.UserDataKey<V>?): V? = null
|
||||
override fun isHiddenForResolutionEverywhereBesideSupercalls(): Boolean = false
|
||||
override fun isHiddenToOvercomeSignatureClash(): Boolean = false
|
||||
override fun isInfix(): Boolean = false
|
||||
@@ -118,4 +118,4 @@ class IrBuiltinValueParameterDescriptorImpl(
|
||||
override fun <R : Any?, D : Any?> accept(visitor: DeclarationDescriptorVisitor<R, D>, data: D): R {
|
||||
return visitor.visitValueParameterDescriptor(this, data)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user