Mercurial > projects > ddmd
diff dmd/AnonDeclaration.d @ 79:43073c7c7769
updated to 2.035
also implemented a few missing functions
still crashes in Import.importAll though
author | Trass3r |
---|---|
date | Mon, 30 Aug 2010 03:57:51 +0200 |
parents | ad4792a1cfd6 |
children | be2ab491772e b17640f0e4e8 |
line wrap: on
line diff
--- a/dmd/AnonDeclaration.d Sun Aug 29 14:39:08 2010 +0100 +++ b/dmd/AnonDeclaration.d Mon Aug 30 03:57:51 2010 +0200 @@ -134,10 +134,10 @@ //printf("\tadding members of aad to '%s'\n", ad.toChars()); for (uint i = 0; i < aad.fields.dim; i++) { - VarDeclaration v = cast(VarDeclaration)aad.fields.data[i]; + VarDeclaration v = cast(VarDeclaration)aad.fields[i]; v.offset += sc.offset; - ad.fields.push(cast(void*)v); + ad.fields.push(v); } // Add size of aad to ad