From 67a0cc3c49c8ac1b6aef6899b0667004a08b294b Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Mon, 26 Oct 2015 18:05:23 +0300 Subject: [PATCH] Dropped searching synthetic extensions in imports --- .../kotlin/resolve/AllUnderImportsScope.kt | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/AllUnderImportsScope.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/AllUnderImportsScope.kt index e61e40de8fa..80484a83535 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/AllUnderImportsScope.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/AllUnderImportsScope.kt @@ -23,7 +23,6 @@ import org.jetbrains.kotlin.incremental.components.LookupLocation import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.resolve.scopes.DescriptorKindFilter import org.jetbrains.kotlin.resolve.scopes.ImportingScope -import org.jetbrains.kotlin.types.KotlinType import org.jetbrains.kotlin.utils.Printer class AllUnderImportsScope(descriptor: DeclarationDescriptor) : ImportingScope by ImportingScope.Empty { @@ -49,18 +48,6 @@ class AllUnderImportsScope(descriptor: DeclarationDescriptor) : ImportingScope b override fun getContributedFunctions(name: Name, location: LookupLocation) = scopes.flatMap { it.getFunctions(name, location) } - override fun getContributedSyntheticExtensionProperties(receiverTypes: Collection, name: Name, location: LookupLocation) - = scopes.flatMap { it.getSyntheticExtensionProperties(receiverTypes, name, location) } - - override fun getContributedSyntheticExtensionFunctions(receiverTypes: Collection, name: Name, location: LookupLocation) - = scopes.flatMap { it.getSyntheticExtensionFunctions(receiverTypes, name, location) } - - override fun getContributedSyntheticExtensionProperties(receiverTypes: Collection) - = scopes.flatMap { it.getSyntheticExtensionProperties(receiverTypes) } - - override fun getContributedSyntheticExtensionFunctions(receiverTypes: Collection) - = scopes.flatMap { it.getSyntheticExtensionFunctions(receiverTypes) } - override fun printStructure(p: Printer) { p.println(javaClass.simpleName) }