Allow multiple retry for AnalysisHandlerExtension
This commit is contained in:
committed by
Simon Ogorodnik
parent
313dfaf48c
commit
a6cb156ce9
+2
-2
@@ -472,8 +472,8 @@ object KotlinToJVMBytecodeCompiler {
|
|||||||
// Clear all diagnostic messages
|
// Clear all diagnostic messages
|
||||||
configuration[CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY]?.clear()
|
configuration[CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY]?.clear()
|
||||||
|
|
||||||
// Repeat analysis with additional Java roots (kapt generated sources)
|
// Repeat analysis with additional source roots generated by compiler plugins.
|
||||||
return analyze(environment)
|
return repeatAnalysisIfNeeded(analyze(environment), environment)
|
||||||
}
|
}
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user