Remove unused code...

left after "Optimize scopes handling inside LexicalChainedScope"
refactoring commit.
This commit is contained in:
Ilya Chernikov
2020-10-01 16:57:40 +02:00
parent bdbf8d7980
commit a71eab89e7
@@ -91,12 +91,6 @@ class ClassResolutionScopesSupport(
isDeprecated: Boolean = false
): LexicalScope {
val companionObjectDescriptor = classDescriptor.companionObjectDescriptor?.takeIf { withCompanionObject }
val staticScopes = ArrayList<MemberScope>(3)
staticScopes.add(classDescriptor.staticScope)
staticScopes.add(classDescriptor.unsubstitutedInnerClassesScope)
staticScopes.addIfNotNull(companionObjectDescriptor?.getStaticScopeOfCompanionObject(classDescriptor))
val parentForNewScope = companionObjectDescriptor?.packScopesOfCompanionSupertypes(parent, ownerDescriptor) ?: parent
val lexicalChainedScope = LexicalChainedScope.create(