comparison 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
comparison
equal deleted inserted replaced
112:3f02152c5e68 113:3482c73a991b
28 TupleDeclaration td = vd.toAlias().isTupleDeclaration(); 28 TupleDeclaration td = vd.toAlias().isTupleDeclaration();
29 if (td) 29 if (td)
30 { 30 {
31 for (size_t i = 0; i < td.objects.dim; i++) 31 for (size_t i = 0; i < td.objects.dim; i++)
32 { 32 {
33 DsymbolExp se = cast(DsymbolExp)td.objects.data[i]; 33 auto se = cast(DsymbolExp)td.objects[i];
34 assert(se.op == TOKdsymbol); 34 assert(se.op == TOKdsymbol);
35 scanVar(se.s, iss); 35 scanVar(se.s, iss);
36 } 36 }
37 } 37 }
38 else 38 else