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:
@@ -123,6 +123,12 @@ class KotlinFacetSettings {
|
||||
coroutinesError = value == CoroutineSupport.DISABLED
|
||||
}
|
||||
}
|
||||
|
||||
var skipMetadataVersionCheck: Boolean
|
||||
get() = compilerArguments?.skipMetadataVersionCheck == true
|
||||
set(value) {
|
||||
compilerArguments!!.skipMetadataVersionCheck = value
|
||||
}
|
||||
}
|
||||
|
||||
fun TargetPlatformKind<*>.createCompilerArguments(): CommonCompilerArguments {
|
||||
|
||||
Reference in New Issue
Block a user