Mercurial > projects > ddmd
diff dmd/DotVarExp.d @ 84:be2ab491772e
Expressions -> Vector!Expression
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Mon, 30 Aug 2010 16:12:19 +0100 |
parents | ef02e2e203c2 |
children | acd69f84627e |
line wrap: on
line diff
--- a/dmd/DotVarExp.d Mon Aug 30 18:42:04 2010 +0400 +++ b/dmd/DotVarExp.d Mon Aug 30 16:12:19 2010 +0100 @@ -80,9 +80,9 @@ error("%s is not a member", e.toChars()); else { - DsymbolExp ve = cast(DsymbolExp)e; + auto ve = cast(DsymbolExp)e; e = new DotVarExp(loc, e1, ve.s.isDeclaration()); - exps.push(cast(void*)e); + exps.push(e); } } else { error("%s is not an expression", o.toString());