Mercurial > projects > ddmd
diff dmd/TypeClass.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 | ef02e2e203c2 |
children | be2ab491772e |
line wrap: on
line diff
--- a/dmd/TypeClass.d Sun Aug 29 14:39:08 2010 +0100 +++ b/dmd/TypeClass.d Mon Aug 30 03:57:51 2010 +0200 @@ -162,7 +162,7 @@ exps.reserve(sym.fields.dim); for (size_t i = 0; i < sym.fields.dim; i++) { - VarDeclaration v2 = cast(VarDeclaration)sym.fields.data[i]; + VarDeclaration v2 = cast(VarDeclaration)sym.fields[i]; Expression fe = new DotVarExp(e.loc, e, v2); exps.push(cast(void*)fe); } @@ -677,7 +677,7 @@ if (global.params.symdebug) for (int i = 0; i < sym.fields.dim; i++) { - VarDeclaration v = cast(VarDeclaration)sym.fields.data[i]; + VarDeclaration v = cast(VarDeclaration)sym.fields[i]; Symbol* s2 = symbol_name(toStringz(v.ident.toChars()), SC.SCmember, v.type.toCtype()); s2.Smemoff = v.offset;