https://issues.dlang.org/show_bug.cgi?id=2940
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Version|1.042 |D1
--
http://d.puremagic.com/issues/show_bug.cgi?id=2940
--- Comment #1 from clugd...@yahoo.com.au 2009-05-05 03:01 ---
PATCH in optimize.c, line 779, in IdentityExp::optimize(int result)
Just allow TOKnull as one of the parameters.
OLD:
if (this-e1-isConst() this-e2-isConst())
{
http://d.puremagic.com/issues/show_bug.cgi?id=2940
--- Comment #2 from to...@famolsen.dk 2009-05-05 06:35 ---
Does things break if NullExp::isConst() was just implemented? After all, null
is constant...
--