#KTIJ-23032
This commit is contained in:
Vladimir Dolzhenko
2022-09-26 16:33:12 +02:00
committed by teamcity
parent a32c660a67
commit b2b88662d8
@@ -52,7 +52,7 @@ fun LexicalScope.getDeclarationsByLabel(labelName: Name): Collection<Declaration
// Result is guaranteed to be filtered by kind and name.
fun HierarchicalScope.collectDescriptorsFiltered(
kindFilter: DescriptorKindFilter = DescriptorKindFilter.ALL,
nameFilter: (Name) -> Boolean = { true },
nameFilter: (Name) -> Boolean = MemberScope.ALL_NAME_FILTER,
changeNamesForAliased: Boolean = false
): Collection<DeclarationDescriptor> {
if (kindFilter.kindMask == 0) return listOf()