Move skipMetadataVersionCheck flag to LanguageVersionSettings

This makes it possible to avoid the CompilerConfiguration instance in
injectors, because CompilerDeserializationConfiguration was the only
left component that required it.

LanguageVersionSettings is not a good name for this entity anymore, it
should be renamed in the future
This commit is contained in:
Alexander Udalov
2017-03-13 10:34:45 +03:00
parent f5d4dd33da
commit ac530ac49c
9 changed files with 24 additions and 11 deletions
@@ -108,6 +108,8 @@ abstract class BaseDiagnosticsTest : KotlinMultiFileTestWithJava<TestModule, Tes
override fun supportsFeature(feature: LanguageFeature): Boolean =
languageFeatures[feature] ?: delegate.supportsFeature(feature)
override val skipMetadataVersionCheck: Boolean get() = false
override val additionalFeatures: Collection<LanguageFeature>
get() = error("Must not be called")