Mercurial > projects > ddmd
diff dmd/StructInitializer.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 | e28b18c23469 |
line wrap: on
line diff
--- a/dmd/StructInitializer.d Mon Aug 30 18:42:04 2010 +0400 +++ b/dmd/StructInitializer.d Mon Aug 30 16:12:19 2010 +0100 @@ -202,7 +202,7 @@ Expression ex = iz.toExpression(); if (!ex) goto Lno; - elements.push(cast(void*)ex); + elements.push(ex); } e = new StructLiteralExp(loc, sd, elements); e.type = sd.type;