From 5747e1505a89b095980da2528eb5f9d190cb9f4e Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Mon, 24 Jul 2017 20:49:00 +0300 Subject: [PATCH] Refactor AnalysisFlags and their support in IDE * Support flags with any value (not just Boolean) * Support all flags by parsing arguments in KotlinFacetSettings, instead of manually listing known flags #KT-19210 Fixed Original commit: 2f99f6ad340174f10c5a0ed02b257168ca7db4c3 --- .../src/org/jetbrains/kotlin/config/KotlinFacetSettings.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/jps/jps-common/src/org/jetbrains/kotlin/config/KotlinFacetSettings.kt b/jps/jps-common/src/org/jetbrains/kotlin/config/KotlinFacetSettings.kt index bf7d9b2e036..0cb3d2ef86e 100644 --- a/jps/jps-common/src/org/jetbrains/kotlin/config/KotlinFacetSettings.kt +++ b/jps/jps-common/src/org/jetbrains/kotlin/config/KotlinFacetSettings.kt @@ -124,12 +124,6 @@ class KotlinFacetSettings { LanguageFeature.State.ENABLED_WITH_ERROR, LanguageFeature.State.DISABLED -> CommonCompilerArguments.ERROR } } - - var skipMetadataVersionCheck: Boolean - get() = compilerArguments?.skipMetadataVersionCheck == true - set(value) { - compilerArguments!!.skipMetadataVersionCheck = value - } } fun TargetPlatformKind<*>.createCompilerArguments(init: CommonCompilerArguments.() -> Unit = {}): CommonCompilerArguments {