comparison dmd/ScopeDsymbol.d @ 130:60bb0fe4563e

dmdfe 2.037 first main iteration
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Thu, 09 Sep 2010 22:51:44 +0100
parents e28b18c23469
children e3afd1303184
comparison
equal deleted inserted replaced
129:010eb8f0e18d 130:60bb0fe4563e
246 static __gshared TypeFunction tfgetmembers; 246 static __gshared TypeFunction tfgetmembers;
247 247
248 if (!tfgetmembers) 248 if (!tfgetmembers)
249 { 249 {
250 Scope sc; 250 Scope sc;
251 Arguments arguments = new Arguments(); 251 auto arguments = new Arguments();
252 Arguments arg = new Argument(STCin, Type.tchar.constOf().arrayOf(), null, null); 252 auto arg = new Argument(STCin, Type.tchar.constOf().arrayOf(), null, null);
253 arguments.push(arg); 253 arguments.push(arg);
254 254
255 Type tret = null; 255 Type tret = null;
256 tfgetmembers = new TypeFunction(arguments, tret, 0, LINK.LINKd); 256 tfgetmembers = new TypeFunction(arguments, tret, 0, LINK.LINKd);
257 tfgetmembers = cast(TypeFunction)tfgetmembers.semantic(0, &sc); 257 tfgetmembers = cast(TypeFunction)tfgetmembers.semantic(0, &sc);