http://d.puremagic.com/issues/show_bug.cgi?id=4503
Rainer Schuetze <r.sagita...@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r.sagita...@gmx.de --- Comment #3 from Rainer Schuetze <r.sagita...@gmx.de> 2010-07-26 00:32:51 PDT --- This patch seems a bit more generic and solved a similar issue for me. It also works for your code: Index: declaration.c =================================================================== --- declaration.c (revision 576) +++ declaration.c (working copy) @@ -594,6 +594,9 @@ { error("recursive alias declaration"); aliassym = new TypedefDeclaration(loc, ident, Type::terror, NULL); } + else if (!aliassym && scope) + semantic(scope); + Dsymbol *s = aliassym ? aliassym->toAlias() : this; return s; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------