mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-27 17:13:20 +01:00
Added test case for bug #100
Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)
This commit is contained in:
@@ -184,7 +184,7 @@ const LLType* DtoType(Type* t)
|
||||
return llvm::OpaqueType::get();
|
||||
|
||||
default:
|
||||
printf("trying to convert unknown type with value %d\n", t->ty);
|
||||
printf("trying to convert unknown type '%s' with value %d\n", t->toChars(), t->ty);
|
||||
assert(0);
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user