Minor: remove unused parameter from LookupTracker.record
This commit is contained in:
+1
-1
@@ -361,6 +361,6 @@ public abstract class LazyJavaScope(protected val c: LazyJavaResolverContext) :
|
||||
}
|
||||
|
||||
protected fun recordLookup(name: Name, from: LookupLocation) {
|
||||
c.components.lookupTracker.record(from, ownerDescriptor, this, name)
|
||||
c.components.lookupTracker.record(from, ownerDescriptor, name)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,9 +22,8 @@ import org.jetbrains.kotlin.descriptors.PackageFragmentDescriptor
|
||||
import org.jetbrains.kotlin.incremental.components.*
|
||||
import org.jetbrains.kotlin.name.Name
|
||||
import org.jetbrains.kotlin.resolve.descriptorUtil.fqNameUnsafe
|
||||
import org.jetbrains.kotlin.resolve.scopes.MemberScope
|
||||
|
||||
public fun LookupTracker.record(from: LookupLocation, scopeOwner: DeclarationDescriptor, inScope: MemberScope, name: Name) {
|
||||
public fun LookupTracker.record(from: LookupLocation, scopeOwner: DeclarationDescriptor, name: Name) {
|
||||
if (this == LookupTracker.DO_NOTHING || from is NoLookupLocation) return
|
||||
|
||||
val location = from.location ?: return
|
||||
|
||||
+1
-1
@@ -184,6 +184,6 @@ public abstract class DeserializedMemberScope protected constructor(
|
||||
}
|
||||
|
||||
private fun recordLookup(name: Name, from: LookupLocation) {
|
||||
c.components.lookupTracker.record(from, c.containingDeclaration, this, name)
|
||||
c.components.lookupTracker.record(from, c.containingDeclaration, name)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user