http://d.puremagic.com/issues/show_bug.cgi?id=9806
--- Comment #3 from Kenji Hara <[email protected]> 2013-04-01 18:15:12 PDT --- (In reply to comment #2) > This slight variation still fails: > > --- > cat > test.d <<code > struct S(alias x) > { > template Next() > { > enum expr = x + 1; > alias S!expr Next; > } > } > alias S!1 One; > alias S!0.Next!() OneAgain; > code > dmd -c -o- test.d > --- > dmd: struct.c:722: virtual void StructDeclaration::semantic(Scope*): Assertion > `type->ty != Tstruct || ((TypeStruct *)type)->sym == this' failed. > Aborted (core dumped) > --- I updated my pull request to fix it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
