comparison dmd/CallExp.d @ 109:ceda59b4d255

expression.c changes, now only ddoc should be left
author Trass3r
date Tue, 31 Aug 2010 22:08:52 +0200
parents acd69f84627e
children e28b18c23469
comparison
equal deleted inserted replaced
108:6da99741178e 109:ceda59b4d255
182 auto taa = cast(TypeAArray)dotid.e1.type.toBasetype(); 182 auto taa = cast(TypeAArray)dotid.e1.type.toBasetype();
183 key = key.implicitCastTo(sc, taa.index); 183 key = key.implicitCastTo(sc, taa.index);
184 184
185 return new RemoveExp(loc, dotid.e1, key); 185 return new RemoveExp(loc, dotid.e1, key);
186 } 186 }
187 else if (e1ty == TY.Tarray || e1ty == TY.Tsarray || e1ty == TY.Taarray) 187 else if (e1ty == TY.Tarray || e1ty == TY.Tsarray ||
188 (e1ty == Taarray && dotid.ident != Id.apply && dotid.ident != Id.applyReverse))
188 { 189 {
189 if (!arguments) 190 if (!arguments)
190 arguments = new Expressions(); 191 arguments = new Expressions();
191 arguments.shift(dotid.e1); 192 arguments.shift(dotid.e1);
192 version (DMDV2) { 193 version (DMDV2) {