Rename: Report redeclaration conflict between class and type alias
#KT-22751 Fixed
This commit is contained in:
@@ -99,7 +99,7 @@ internal fun checkRedeclarations(
|
||||
|
||||
fun MemberScope.findSiblingsByName(): List<DeclarationDescriptor> {
|
||||
val descriptorKindFilter = when (descriptor) {
|
||||
is ClassDescriptor -> DescriptorKindFilter.CLASSIFIERS
|
||||
is ClassifierDescriptor -> DescriptorKindFilter.CLASSIFIERS
|
||||
is PropertyDescriptor -> DescriptorKindFilter.VARIABLES
|
||||
is FunctionDescriptor -> DescriptorKindFilter.FUNCTIONS
|
||||
else -> return emptyList()
|
||||
|
||||
Reference in New Issue
Block a user