[AA] forbid analyze from write action
Analysis is not supposed to be called from write action. Such actions can lead to IDE freezes and incorrect behavior ^KT-60586 Fixed
This commit is contained in:
committed by
Space Team
parent
c624bba8cd
commit
88da053408
@@ -39,6 +39,7 @@ projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||
|
||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
||||
kotlinOptions.freeCompilerArgs += "-Xcontext-receivers"
|
||||
kotlinOptions.freeCompilerArgs += "-opt-in=org.jetbrains.kotlin.analysis.api.lifetime.KtAllowProhibitedAnalyzeFromWriteAction"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user