mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-04 01:11:29 +02:00
[svn r96] Updated to DMD 1.023.
Regular bugfixes.
This commit is contained in:
@@ -284,7 +284,7 @@ Expression *CallExp::optimize(int result)
|
||||
if (fd)
|
||||
{
|
||||
Expression *eresult = fd->interpret(NULL, arguments);
|
||||
if (eresult)
|
||||
if (eresult && eresult != EXP_VOID_INTERPRET)
|
||||
e = eresult;
|
||||
else if (result & WANTinterpret)
|
||||
error("cannot evaluate %s at compile time", toChars());
|
||||
|
||||
Reference in New Issue
Block a user