Removed wrong TODO
This commit is contained in:
+3
-3
@@ -78,7 +78,7 @@ class StaticMembersCompletion(
|
|||||||
for (container in containers) {
|
for (container in containers) {
|
||||||
val memberScope = if (container.kind == ClassKind.OBJECT) container.unsubstitutedMemberScope else container.staticScope
|
val memberScope = if (container.kind == ClassKind.OBJECT) container.unsubstitutedMemberScope else container.staticScope
|
||||||
val members = memberScope.getDescriptorsFiltered(DescriptorKindFilter.CALLABLES exclude DescriptorKindExclude.Extensions, prefixMatcher.asNameFilter())
|
val members = memberScope.getDescriptorsFiltered(DescriptorKindFilter.CALLABLES exclude DescriptorKindExclude.Extensions, prefixMatcher.asNameFilter())
|
||||||
members.filterTo(result) { it is CallableDescriptor && it !in alreadyAdded } //TODO: substitution
|
members.filterTo(result) { it is CallableDescriptor && it !in alreadyAdded }
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
@@ -96,14 +96,14 @@ class StaticMembersCompletion(
|
|||||||
!declaration.hasModifier(KtTokens.OVERRIDE_KEYWORD) && objectDeclaration.isTopLevelOrCompanion()
|
!declaration.hasModifier(KtTokens.OVERRIDE_KEYWORD) && objectDeclaration.isTopLevelOrCompanion()
|
||||||
}
|
}
|
||||||
indicesHelper.processObjectMembers(descriptorKindFilter, nameFilter, filter) {
|
indicesHelper.processObjectMembers(descriptorKindFilter, nameFilter, filter) {
|
||||||
if (it !in alreadyAdded) { //TODO: substitution
|
if (it !in alreadyAdded) {
|
||||||
processor(it)
|
processor(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isJvmModule) {
|
if (isJvmModule) {
|
||||||
indicesHelper.processJavaStaticMembers(descriptorKindFilter, nameFilter){
|
indicesHelper.processJavaStaticMembers(descriptorKindFilter, nameFilter){
|
||||||
if (it !in alreadyAdded) { //TODO: substitution
|
if (it !in alreadyAdded) {
|
||||||
processor(it)
|
processor(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user