comparison sema/TypeCheck.d @ 164:ba94fd563548

The symbol for the constructor a "new"-exp is calling is now stored in callSym in NewExp.
author Anders Johnsen <skabet@gmail.com>
date Tue, 22 Jul 2008 16:53:47 +0200
parents 6cb2f4201e2a
children 7606387b2f0a
comparison
equal deleted inserted replaced
163:362265427838 164:ba94fd563548
188 } 188 }
189 else 189 else
190 newArgs ~= arg; 190 newArgs ~= arg;
191 } 191 }
192 exp.c_args = newArgs; 192 exp.c_args = newArgs;
193 exp.callSym = sel;
193 } 194 }
194 else 195 else
195 { 196 {
196 messages.report(NoMachingCon, exp.newType.loc); 197 messages.report(NoMachingCon, exp.newType.loc);
197 foreach( i, s ; methods ) 198 foreach( i, s ; methods )