mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Merged DMD commit e6f074f812c3b79de07582ac5a7e73633135c490:
bugzilla 4825 Regression(1.057, 2.040) Error:
This commit is contained in:
@@ -566,13 +566,13 @@ Expression *ReturnStatement::interpret(InterState *istate)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if LOG
|
||||
Expression *e = exp->interpret(istate);
|
||||
printf("e = %p\n", e);
|
||||
if (e == EXP_CANT_INTERPRET)
|
||||
return e;
|
||||
// Convert lvalues into rvalues (See Bugzilla 4825 for rationale)
|
||||
if (e->op == TOKvar)
|
||||
e = e->interpret(istate);
|
||||
return e;
|
||||
#else
|
||||
return exp->interpret(istate);
|
||||
#endif
|
||||
}
|
||||
|
||||
Expression *BreakStatement::interpret(InterState *istate)
|
||||
|
||||
Reference in New Issue
Block a user