[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
@@ -35,6 +35,7 @@ sourceSets {
|
||||
|
||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
||||
kotlinOptions.freeCompilerArgs += "-Xcontext-receivers"
|
||||
kotlinOptions.freeCompilerArgs += "-opt-in=org.jetbrains.kotlin.analysis.api.KtAnalysisApiInternals"
|
||||
}
|
||||
|
||||
testsJar()
|
||||
|
||||
Reference in New Issue
Block a user