http://d.puremagic.com/issues/show_bug.cgi?id=4237
--- Comment #2 from Shin Fujishiro <rsi...@gmail.com> 2010-05-28 04:54:49 PDT --- Here's a trivial patch to dmd svn r502. --- src/declaration.c +++ src/declaration.c @@ -296,6 +296,7 @@ Dsymbol *TypedefDeclaration::syntaxCopy(Dsymbol *s) void TypedefDeclaration::semantic(Scope *sc) { //printf("TypedefDeclaration::semantic(%s) sem = %d\n", toChars(), sem); + parent = sc->parent; if (sem == 0) { sem = 1; basetype = basetype->semantic(loc, sc); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------