Mercurial > projects > ddmd
diff dmd/TraitsExp.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 | ae5b11064a9a |
line wrap: on
line diff
--- a/dmd/TraitsExp.d Mon Aug 30 19:58:14 2010 +0400 +++ b/dmd/TraitsExp.d Mon Aug 30 20:27:56 2010 +0100 @@ -309,7 +309,7 @@ /* Skip if already present in exps[] */ for (size_t j = 0; j < exps.dim; j++) - { StringExp se2 = cast(StringExp)exps.data[j]; + { auto se2 = cast(StringExp)exps[j]; if (strcmp(toStringz(str), cast(char*)se2.string_) == 0) goto Lnext; }