Allow multiple retry for AnalysisHandlerExtension

This commit is contained in:
Jiaxiang Chen
2020-10-26 23:50:00 -07:00
committed by Simon Ogorodnik
parent 313dfaf48c
commit a6cb156ce9
@@ -472,8 +472,8 @@ object KotlinToJVMBytecodeCompiler {
// Clear all diagnostic messages
configuration[CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY]?.clear()
// Repeat analysis with additional Java roots (kapt generated sources)
return analyze(environment)
// Repeat analysis with additional source roots generated by compiler plugins.
return repeatAnalysisIfNeeded(analyze(environment), environment)
}
return result