diff dmd/backend/iasm.d @ 113:3482c73a991b

More cleanup for arrays
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Tue, 31 Aug 2010 23:57:32 +0100
parents f95140b40251
children e28b18c23469
line wrap: on
line diff
--- a/dmd/backend/iasm.d	Wed Sep 01 00:14:27 2010 +0200
+++ b/dmd/backend/iasm.d	Tue Aug 31 23:57:32 2010 +0100
@@ -3434,7 +3434,7 @@
 			error(asmstate.loc, "tuple index %u exceeds %u", index, tup.objects.dim);
 	    else
 	    {
-			Object o = cast(Object)tup.objects.data[index];
+			Object o = tup.objects[index];
 			if (auto d = cast(Dsymbol)o)
 			{   
 				o1.s = d;