Remove unused code...
left after "Optimize scopes handling inside LexicalChainedScope" refactoring commit.
This commit is contained in:
-6
@@ -91,12 +91,6 @@ class ClassResolutionScopesSupport(
|
|||||||
isDeprecated: Boolean = false
|
isDeprecated: Boolean = false
|
||||||
): LexicalScope {
|
): LexicalScope {
|
||||||
val companionObjectDescriptor = classDescriptor.companionObjectDescriptor?.takeIf { withCompanionObject }
|
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 parentForNewScope = companionObjectDescriptor?.packScopesOfCompanionSupertypes(parent, ownerDescriptor) ?: parent
|
||||||
|
|
||||||
val lexicalChainedScope = LexicalChainedScope.create(
|
val lexicalChainedScope = LexicalChainedScope.create(
|
||||||
|
|||||||
Reference in New Issue
Block a user