mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
Removed fix from rev [1331] since rev [1333] adds a more general fix that catches more cases!
This commit is contained in:
@@ -1942,13 +1942,6 @@ Expression *CallExp::interpret(InterState *istate)
|
||||
if (fd->ident == Id::adDup && arguments && arguments->dim == 2)
|
||||
{
|
||||
e = (Expression *)arguments->data[1];
|
||||
#if IN_LLVM
|
||||
// in LDC we repaint the array argument to void[], skip past that
|
||||
// or CTFE will fail!
|
||||
assert(e->op == TOKcast);
|
||||
CastExp* ce = (CastExp*)e;
|
||||
e = ce->e1;
|
||||
#endif
|
||||
e = e->interpret(istate);
|
||||
if (e != EXP_CANT_INTERPRET)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user