mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 01:23:14 +01:00
Add more toConstElem stubs to get better error messages.
This commit is contained in:
@@ -2714,6 +2714,9 @@ STUB(SymbolExp);
|
||||
|
||||
#define CONSTSTUB(x) LLConstant* x::toConstElem(IRState * p) {error("const Exp type "#x" not implemented: '%s' type: '%s'", toChars(), type->toChars()); fatal(); return NULL; }
|
||||
CONSTSTUB(Expression);
|
||||
CONSTSTUB(GEPExp);
|
||||
CONSTSTUB(SliceExp);
|
||||
CONSTSTUB(IndexExp);
|
||||
CONSTSTUB(AssocArrayLiteralExp);
|
||||
|
||||
unsigned Type::totym() { return 0; }
|
||||
|
||||
Reference in New Issue
Block a user