diff dmd/VarDeclaration.d @ 110:12c0c84d13fd

merged in 2.036 changes
author Trass3r
date Tue, 31 Aug 2010 22:29:00 +0200
parents e6090d1aea7c 3a0b150c9841
children 3482c73a991b
line wrap: on
line diff
--- a/dmd/VarDeclaration.d	Tue Aug 31 22:08:52 2010 +0200
+++ b/dmd/VarDeclaration.d	Tue Aug 31 22:29:00 2010 +0200
@@ -293,10 +293,10 @@
 				sc.scopesym.members.push(v);
 			}
 
-			Expression e = new DsymbolExp(loc, v);
-			exps.data[i] = cast(void*)e;
+			auto e = new DsymbolExp(loc, v);
+			exps[i] = e;
 		}
-		TupleDeclaration v2 = new TupleDeclaration(loc, ident, exps);
+		auto v2 = new TupleDeclaration(loc, ident, exps);
 		v2.isexp = 1;
 		aliassym = v2;
 		return;