http://d.puremagic.com/issues/show_bug.cgi?id=9806



--- Comment #4 from Nils <[email protected]> 2013-04-02 02:37:39 PDT 
---
Still fails with a tuple parameter:

---
cat > test.d <<code
struct S(x ...)
{
    template Next()
    {
        enum expr = x[0] + 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: -------

Reply via email to