diff dmd/Cast.d @ 84:be2ab491772e

Expressions -> Vector!Expression
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Mon, 30 Aug 2010 16:12:19 +0100
parents 43073c7c7769
children 8e69d041a99d
line wrap: on
line diff
--- a/dmd/Cast.d	Mon Aug 30 18:42:04 2010 +0400
+++ b/dmd/Cast.d	Mon Aug 30 16:12:19 2010 +0100
@@ -128,7 +128,7 @@
 			exp = Cast(v.type, v.type, exp);
 			if (exp is EXP_CANT_INTERPRET)
 				return exp;
-			elements.push(cast(void*)exp);
+			elements.push(exp);
 		}
 		e = new StructLiteralExp(loc, sd, elements);
 		e.type = type;