[Issue 9806] assertion failure in struct.c:668
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 1 12:39:00 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9806
--- Comment #2 from Nils <nilsbossung at googlemail.com> 2013-04-01 12:38:59 PDT ---
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)
---
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list