[IDE] Drop coroutines KotlinFacetSettings.coroutineSupport
Original commit: a8b65bc673
This commit is contained in:
committed by
TeamCityServer
parent
d885679e61
commit
19c559ff2f
@@ -275,21 +275,6 @@ class KotlinFacetSettings {
|
||||
return targetPlatform?.toIdePlatform()
|
||||
}
|
||||
|
||||
var coroutineSupport: LanguageFeature.State?
|
||||
get() {
|
||||
val languageVersion = languageLevel ?: return LanguageFeature.Coroutines.defaultState
|
||||
if (languageVersion < LanguageFeature.Coroutines.sinceVersion!!) return LanguageFeature.State.DISABLED
|
||||
return CoroutineSupport.byCompilerArgumentsOrNull(compilerArguments)
|
||||
}
|
||||
set(value) {
|
||||
compilerArguments?.coroutinesState = when (value) {
|
||||
null -> CommonCompilerArguments.DEFAULT
|
||||
LanguageFeature.State.ENABLED -> CommonCompilerArguments.ENABLE
|
||||
LanguageFeature.State.ENABLED_WITH_WARNING -> CommonCompilerArguments.WARN
|
||||
LanguageFeature.State.ENABLED_WITH_ERROR, LanguageFeature.State.DISABLED -> CommonCompilerArguments.ERROR
|
||||
}
|
||||
}
|
||||
|
||||
var implementedModuleNames: List<String> = emptyList() // used for first implementation of MPP, aka 'old' MPP
|
||||
var dependsOnModuleNames: List<String> = emptyList() // used for New MPP and later implementations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user