diff dmd/ClassDeclaration.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/ClassDeclaration.d	Sun Aug 29 14:39:08 2010 +0100
+++ b/dmd/ClassDeclaration.d	Mon Aug 30 03:57:51 2010 +0200
@@ -1848,7 +1848,7 @@
 		// Note equivalence of this loop to struct's
 		for (i = 0; i < fields.dim; i++)
 		{
-			VarDeclaration v = cast(VarDeclaration)fields.data[i];
+			VarDeclaration v = cast(VarDeclaration)fields[i];
 			Initializer init;
 
 			//printf("\t\tv = '%s' v.offset = %2d, offset = %2d\n", v.toChars(), v.offset, offset);