diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/WritableScope.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/WritableScope.kt index 76d42d001a2..9997c1867e4 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/WritableScope.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/WritableScope.kt @@ -33,8 +33,6 @@ public trait WritableScope : JetScope { public fun addVariableDescriptor(variableDescriptor: VariableDescriptor) - public fun addPropertyDescriptor(propertyDescriptor: VariableDescriptor) - public fun addFunctionDescriptor(functionDescriptor: FunctionDescriptor) public fun addTypeParameterDescriptor(typeParameterDescriptor: TypeParameterDescriptor) @@ -43,8 +41,6 @@ public trait WritableScope : JetScope { public fun addClassifierAlias(name: Name, classifierDescriptor: ClassifierDescriptor) - public fun getDeclaredDescriptorsAccessibleBySimpleName(): Multimap - public fun importScope(imported: JetScope) public fun setImplicitReceiver(implicitReceiver: ReceiverParameterDescriptor) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/WritableScopeImpl.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/WritableScopeImpl.kt index a900d8ff305..4b3a37cd535 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/WritableScopeImpl.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/WritableScopeImpl.kt @@ -120,10 +120,6 @@ public class WritableScopeImpl(scope: JetScope, addVariableDescriptor(variableDescriptor, false) } - override fun addPropertyDescriptor(propertyDescriptor: VariableDescriptor) { - addVariableDescriptor(propertyDescriptor, true) - } - private fun addVariableDescriptor(variableDescriptor: VariableDescriptor, isProperty: Boolean) { checkMayWrite() @@ -274,9 +270,6 @@ public class WritableScopeImpl(scope: JetScope, declaredDescriptorsAccessibleBySimpleName.put(descriptor.getName(), descriptor) } - override fun getDeclaredDescriptorsAccessibleBySimpleName(): Multimap - = declaredDescriptorsAccessibleBySimpleName - override fun getOwnDeclaredDescriptors(): Collection = declaredDescriptorsAccessibleBySimpleName.values()