[Issue 9806] New: assertion failure in struct.c:668

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 24 04:20:55 PDT 2013


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

           Summary: assertion failure in struct.c:668
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: nilsbossung at googlemail.com


--- Comment #0 from Nils <nilsbossung at googlemail.com> 2013-03-24 04:20:54 PDT ---
Fails with v2.063-devel-618d827.
Compiles with v2.062.

---
cat > test.d <<code
struct S(alias x)
{
    alias S!0 N;
}
enum expr = 0 * 0;
alias S!expr T;
code
dmd -c -o- test.d
---
dmd: struct.c:668: 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