diff dmd/ForeachStatement.d @ 90:39648eb578f6

more Expressions work
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Mon, 30 Aug 2010 20:27:56 +0100
parents be2ab491772e
children acd69f84627e
line wrap: on
line diff
--- a/dmd/ForeachStatement.d	Mon Aug 30 19:58:14 2010 +0400
+++ b/dmd/ForeachStatement.d	Mon Aug 30 20:27:56 2010 +0100
@@ -175,7 +175,7 @@
 				Expression e;
 				Type t;
 				if (te)
-					e = cast(Expression)te.exps.data[k];
+					e = te.exps[k];
 				else
 					t = Argument.getNth(tuple.arguments, k).type;