AnalysisFlags: add flag ideMode for IDE specific analysis
This commit is contained in:
@@ -35,4 +35,7 @@ object AnalysisFlags {
|
||||
|
||||
@JvmStatic
|
||||
val useTypeRefinement by AnalysisFlag.Delegates.Boolean
|
||||
|
||||
@JvmStatic
|
||||
val ideMode by AnalysisFlag.Delegates.Boolean
|
||||
}
|
||||
|
||||
@@ -214,6 +214,7 @@ private fun MutableMap<AnalysisFlag<*>, Any>.initIDESpecificAnalysisSettings(pro
|
||||
if (KotlinMultiplatformAnalysisModeComponent.getMode(project) == KotlinMultiplatformAnalysisModeComponent.Mode.COMPOSITE) {
|
||||
put(AnalysisFlags.useTypeRefinement, true)
|
||||
}
|
||||
put(AnalysisFlags.ideMode, true)
|
||||
}
|
||||
|
||||
val Module.platform: TargetPlatform?
|
||||
|
||||
Reference in New Issue
Block a user