Mercurial > projects > ddmd
diff dmd/IndexExp.d @ 113:3482c73a991b
More cleanup for arrays
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Tue, 31 Aug 2010 23:57:32 +0100 |
parents | 43073c7c7769 |
children | e28b18c23469 |
line wrap: on
line diff
--- a/dmd/IndexExp.d Wed Sep 01 00:14:27 2010 +0200 +++ b/dmd/IndexExp.d Tue Aug 31 23:57:32 2010 +0100 @@ -164,7 +164,7 @@ if (index < length) { if (e1.op == TOKtuple) - e = cast(Expression)te.exps.data[cast(size_t)index]; + e = te.exps[cast(size_t)index]; else e = new TypeExp(e1.loc, Argument.getNth(tup.arguments, cast(size_t)index).type); }