if (goldenCuds.length == 0) {
compilationFailed = true;
}
for (int iCud = 0; iCud < goldenCuds.length; iCud++) {
CompilationUnitDeclaration cud = goldenCuds[iCud];
CompilationResult result = cud.compilationResult();
if (result.hasErrors()) {
compilationFailed = true;
// Early out if we don't need to itemize.
if (!itemizeErrors) {
break;