diff dmd/statement.c @ 139:0ab29b838084 trunk

[svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :) Fixed: tango.io.Console seems to be working now.
author lindquist
date Tue, 22 Jan 2008 00:01:16 +0100
parents 0e28624814e8
children a27941d00351
line wrap: on
line diff
--- a/dmd/statement.c	Fri Jan 18 20:13:19 2008 +0100
+++ b/dmd/statement.c	Tue Jan 22 00:01:16 2008 +0100
@@ -1982,6 +1982,7 @@
     {	condition = condition->integralPromotions(sc);
 	condition->checkIntegral();
     }
+    condition = condition->optimize(WANTvalue);
 
     sc = sc->push();
     sc->sbreak = this;