Mercurial > projects > ddmd
diff dmd/InlineScanState.d @ 113:3482c73a991b
More cleanup for arrays
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Tue, 31 Aug 2010 23:57:32 +0100 |
parents | be2ab491772e |
children | e28b18c23469 |
line wrap: on
line diff
--- a/dmd/InlineScanState.d Wed Sep 01 00:14:27 2010 +0200 +++ b/dmd/InlineScanState.d Tue Aug 31 23:57:32 2010 +0100 @@ -30,7 +30,7 @@ { for (size_t i = 0; i < td.objects.dim; i++) { - DsymbolExp se = cast(DsymbolExp)td.objects.data[i]; + auto se = cast(DsymbolExp)td.objects[i]; assert(se.op == TOKdsymbol); scanVar(se.s, iss); }