diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/utils/ScopeUtils.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/utils/ScopeUtils.kt index dff184233f7..22faa51fbdb 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/utils/ScopeUtils.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/scopes/utils/ScopeUtils.kt @@ -303,11 +303,6 @@ fun LexicalScope.addImportingScope(importScope: ImportingScope): LexicalScope = addImportingScopes(listOf(importScope)) fun ImportingScope.withParent(newParent: ImportingScope?): ImportingScope { - // TODO: it's a hack for Repl - if (this is MemberScopeToImportingScopeAdapter) { - return MemberScopeToImportingScopeAdapter(newParent, memberScope) - } - return object: ImportingScope by this { override val parent: ImportingScope? get() = newParent