mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-18 05:43:14 +01:00
Fix ouput for test diag8354
This commit is contained in:
@@ -508,7 +508,11 @@ llvm::Module* Module::genLLVMModule(llvm::LLVMContext& context)
|
||||
if (global.params.verbose_cg)
|
||||
printf("codegen: %s (%s)\n", toPrettyChars(), srcfile->toChars());
|
||||
|
||||
assert(!global.errors);
|
||||
if (global.errors)
|
||||
{
|
||||
Logger::println("Aborting because of errors");
|
||||
fatal();
|
||||
}
|
||||
|
||||
// name the module
|
||||
#if 1
|
||||
|
||||
Reference in New Issue
Block a user