Mercurial > projects > ddmd
diff dmd/TupleExp.d @ 113:3482c73a991b
More cleanup for arrays
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Tue, 31 Aug 2010 23:57:32 +0100 |
parents | 39648eb578f6 |
children | e28b18c23469 |
line wrap: on
line diff
--- a/dmd/TupleExp.d Wed Sep 01 00:14:27 2010 +0200 +++ b/dmd/TupleExp.d Tue Aug 31 23:57:32 2010 +0100 @@ -88,9 +88,8 @@ type = null; exps.reserve(tup.objects.dim); - for (size_t i = 0; i < tup.objects.dim; i++) + foreach (o; tup.objects) { - Object o = cast(Object)tup.objects.data[i]; if (auto e = cast(Expression)o) { e = e.syntaxCopy();