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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user