From bf51a402b952945ce506dfb8b85a4042c2e0f93f Mon Sep 17 00:00:00 2001 From: Dmitry Savvinov Date: Tue, 14 May 2019 17:38:21 +0300 Subject: [PATCH] Remove deprecated method --- .../org/jetbrains/kotlin/resolve/TargetPlatform.kt | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/compiler/frontend.common/src/org/jetbrains/kotlin/resolve/TargetPlatform.kt b/compiler/frontend.common/src/org/jetbrains/kotlin/resolve/TargetPlatform.kt index a36c10849fb..224f4a47fe3 100644 --- a/compiler/frontend.common/src/org/jetbrains/kotlin/resolve/TargetPlatform.kt +++ b/compiler/frontend.common/src/org/jetbrains/kotlin/resolve/TargetPlatform.kt @@ -62,18 +62,7 @@ abstract class PlatformDependentCompilerServices { protected abstract fun computePlatformSpecificDefaultImports(storageManager: StorageManager, result: MutableList) open val excludedImports: List get() = emptyList() - - // This function is used in "cat.helm.clean:0.1.1-SNAPSHOT": https://plugins.jetbrains.com/plugin/index?xmlId=cat.helm.clean - @Suppress("DeprecatedCallableAddReplaceWith", "unused") - @Deprecated("Use getDefaultImports(LanguageVersionSettings, Boolean) instead.", level = DeprecationLevel.ERROR) - fun getDefaultImports(includeKotlinComparisons: Boolean): List { - return getDefaultImports( - if (includeKotlinComparisons) LanguageVersionSettingsImpl.DEFAULT - else LanguageVersionSettingsImpl(LanguageVersion.KOTLIN_1_0, ApiVersion.KOTLIN_1_0), - true - ) - } - + open fun dependencyOnBuiltIns(): ModuleInfo.DependencyOnBuiltIns = ModuleInfo.DependencyOnBuiltIns.LAST }