Removed wrong TODO

This commit is contained in:
Valentin Kipyatkov
2015-11-06 16:05:43 +03:00
parent 80a1d94515
commit ac4cf540a4
@@ -78,7 +78,7 @@ class StaticMembersCompletion(
for (container in containers) {
val memberScope = if (container.kind == ClassKind.OBJECT) container.unsubstitutedMemberScope else container.staticScope
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
}
@@ -96,14 +96,14 @@ class StaticMembersCompletion(
!declaration.hasModifier(KtTokens.OVERRIDE_KEYWORD) && objectDeclaration.isTopLevelOrCompanion()
}
indicesHelper.processObjectMembers(descriptorKindFilter, nameFilter, filter) {
if (it !in alreadyAdded) { //TODO: substitution
if (it !in alreadyAdded) {
processor(it)
}
}
if (isJvmModule) {
indicesHelper.processJavaStaticMembers(descriptorKindFilter, nameFilter){
if (it !in alreadyAdded) { //TODO: substitution
if (it !in alreadyAdded) {
processor(it)
}
}