Mercurial > projects > ddmd
diff dmd/TypeFunction.d @ 113:3482c73a991b
More cleanup for arrays
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Tue, 31 Aug 2010 23:57:32 +0100 |
parents | acd69f84627e |
children | e28b18c23469 |
line wrap: on
line diff
--- a/dmd/TypeFunction.d Wed Sep 01 00:14:27 2010 +0200 +++ b/dmd/TypeFunction.d Tue Aug 31 23:57:32 2010 +0100 @@ -512,7 +512,7 @@ goto Nomatch; // not enough arguments } - arg = cast(Expression)args.data[u]; + arg = cast(Expression)args[u]; assert(arg); // writef("arg: %s, type: %s\n", arg.toChars(), arg.type.toChars()); @@ -565,7 +565,7 @@ TypeArray ta = cast(TypeArray)tb; for (; u < nargs; u++) { - arg = cast(Expression)args.data[u]; + arg = cast(Expression)args[u]; assert(arg); static if (true) { /* If lazy array of delegates,