mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Merged the final dmd 2.058
This commit is contained in:
@@ -2908,10 +2908,12 @@ Lagain:
|
||||
TemplateDeclaration *td = s->isTemplateDeclaration();
|
||||
if (td)
|
||||
{
|
||||
#if 0 // This was the fix for Bugzilla 6738, but it breaks 7498
|
||||
Dsymbol *p = td->toParent2();
|
||||
if (hasThis(sc) && p && p->isAggregateDeclaration())
|
||||
e = new DotTemplateExp(loc, new ThisExp(loc), td);
|
||||
else
|
||||
#endif
|
||||
e = new TemplateExp(loc, td);
|
||||
e = e->semantic(sc);
|
||||
return e;
|
||||
|
||||
Reference in New Issue
Block a user