Removed MemberScope.ownerDescriptor
This commit is contained in:
+2
-5
@@ -116,9 +116,6 @@ public abstract class DeserializedMemberScope protected constructor(
|
||||
|
||||
protected abstract fun addClassDescriptors(result: MutableCollection<DeclarationDescriptor>, nameFilter: (Name) -> Boolean)
|
||||
|
||||
override val ownerDescriptor: DeclarationDescriptor
|
||||
get() = c.containingDeclaration
|
||||
|
||||
protected fun computeDescriptors(
|
||||
kindFilter: DescriptorKindFilter,
|
||||
nameFilter: (Name) -> Boolean,
|
||||
@@ -180,13 +177,13 @@ public abstract class DeserializedMemberScope protected constructor(
|
||||
p.println(javaClass.simpleName, " {")
|
||||
p.pushIndent()
|
||||
|
||||
p.println("containingDeclaration = " + ownerDescriptor)
|
||||
p.println("containingDeclaration = " + c.containingDeclaration)
|
||||
|
||||
p.popIndent()
|
||||
p.println("}")
|
||||
}
|
||||
|
||||
private fun recordLookup(name: Name, from: LookupLocation) {
|
||||
c.components.lookupTracker.record(from, ownerDescriptor, this, name)
|
||||
c.components.lookupTracker.record(from, c.containingDeclaration, this, name)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user