[Analysis API] optimize composite scope
Do not create KtCompositeScope for empty or single scopes
This commit is contained in:
committed by
Space Team
parent
950a32901c
commit
ee1fd9f6e9
@@ -41,6 +41,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
|
||||
freeCompilerArgs += "-Xcontext-receivers"
|
||||
freeCompilerArgs += "-opt-in=org.jetbrains.kotlin.analysis.api.KtAnalysisApiInternals"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user