Mercurial > projects > ldc
diff gen/tollvm.cpp @ 650:aa6a0b7968f7
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)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 05 Oct 2008 17:28:15 +0200 |
parents | 8d850fa25713 |
children | 5812d6fac0f0 |
line wrap: on
line diff
--- a/gen/tollvm.cpp Sun Oct 05 11:47:59 2008 +0200 +++ b/gen/tollvm.cpp Sun Oct 05 17:28:15 2008 +0200 @@ -184,7 +184,7 @@ 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;