Mercurial > projects > ddmd
diff dmd/Expression.d @ 126:1765f3ef917d
ClassDeclarations, Arguments -> Vector
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Fri, 03 Sep 2010 23:25:55 +0100 |
parents | e28b18c23469 |
children | 60bb0fe4563e |
line wrap: on
line diff
--- a/dmd/Expression.d Fri Sep 03 22:17:54 2010 +0100 +++ b/dmd/Expression.d Fri Sep 03 23:25:55 2010 +0100 @@ -990,8 +990,8 @@ Expression buildArrayLoop(Arguments fparams) { Identifier id = Identifier.generateId("c", fparams.dim); - Argument param = new Argument(STC.STCundefined, type, id, null); - fparams.shift(cast(void*)param); + auto param = new Argument(STC.STCundefined, type, id, null); + fparams.shift(param); Expression e = new IdentifierExp(Loc(0), id); return e; }