EA-115037: Rebuild PerModulePackageCache on miss
This commit is contained in:
+3
-2
@@ -83,9 +83,10 @@ class PluginDeclarationProviderFactory(
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun diagnoseMissingPackageFragmentPerModulePackageCacheMiss(message: String): Nothing {
|
private fun diagnoseMissingPackageFragmentPerModulePackageCacheMiss(message: String): Nothing {
|
||||||
|
PerModulePackageCacheService.getInstance(project).onTooComplexChange() // Postpone cache rebuild
|
||||||
throw IllegalStateException(
|
throw IllegalStateException(
|
||||||
"PerModulePackageCache miss.\n" +
|
"PerModulePackageCache miss.\n" +
|
||||||
message
|
message
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user