Fix KNPE in FacetSettings (EA-132084)
This commit is contained in:
@@ -200,7 +200,7 @@ class KotlinFacetSettings {
|
|||||||
return CoroutineSupport.byCompilerArgumentsOrNull(compilerArguments)
|
return CoroutineSupport.byCompilerArgumentsOrNull(compilerArguments)
|
||||||
}
|
}
|
||||||
set(value) {
|
set(value) {
|
||||||
compilerArguments!!.coroutinesState = when (value) {
|
compilerArguments?.coroutinesState = when (value) {
|
||||||
null -> CommonCompilerArguments.DEFAULT
|
null -> CommonCompilerArguments.DEFAULT
|
||||||
LanguageFeature.State.ENABLED -> CommonCompilerArguments.ENABLE
|
LanguageFeature.State.ENABLED -> CommonCompilerArguments.ENABLE
|
||||||
LanguageFeature.State.ENABLED_WITH_WARNING -> CommonCompilerArguments.WARN
|
LanguageFeature.State.ENABLED_WITH_WARNING -> CommonCompilerArguments.WARN
|
||||||
|
|||||||
Reference in New Issue
Block a user