diff dmd/ForStatement.d @ 79:43073c7c7769

updated to 2.035 also implemented a few missing functions still crashes in Import.importAll though
author Trass3r
date Mon, 30 Aug 2010 03:57:51 +0200
parents 2e2a5c3f943a
children e28b18c23469
line wrap: on
line diff
--- a/dmd/ForStatement.d	Sun Aug 29 14:39:08 2010 +0100
+++ b/dmd/ForStatement.d	Mon Aug 30 03:57:51 2010 +0200
@@ -69,6 +69,7 @@
 		{
 			increment = increment.semantic(sc);
 			increment = resolveProperties(sc, increment);
+			increment = increment.optimize(0);
 		}
 
 		sc.sbreak = this;