Mercurial > projects > ddmd
diff dmd/CallExp.d @ 73:ef02e2e203c2
Updating to dmd2.033
author | korDen |
---|---|
date | Sat, 28 Aug 2010 19:42:41 +0400 |
parents | 2e2a5c3f943a |
children | ad4792a1cfd6 |
line wrap: on
line diff
--- a/dmd/CallExp.d Sat Aug 28 16:19:48 2010 +0200 +++ b/dmd/CallExp.d Sat Aug 28 19:42:41 2010 +0400 @@ -93,9 +93,11 @@ super(loc, TOK.TOKcall, CallExp.sizeof, e); Expressions arguments = new Expressions(); - arguments.setDim(1); - arguments.data[0] = cast(void*)earg1; - + if (earg1) + { + arguments.setDim(1); + arguments.data[0] = cast(void*)earg1; + } this.arguments = arguments; } @@ -734,7 +736,7 @@ accessCheck(loc, sc, null, f); ve.var = f; - // ve.hasOverloads = 0; + // ve.hasOverloads = false; ve.type = f.type; t1 = f.type; }