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

           Summary: DMD: Assertion 't->mod == 4' failed in cast.c
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: i.kas...@gmx.de


--- Comment #0 from Ivo Kasiuk <i.kas...@gmx.de> 2010-10-09 10:18:10 PDT ---
Assertion failure during compilation with DMD v2.049:

$ cat test.d 
struct S {
  void delegate() d;
}
void main() {
  shared S[] s;
  s[0] = S();
}
$ dmd test
dmd: cast.c:432: virtual MATCH StructLiteralExp::implicitConvTo(Type*):
Assertion `t->mod == 4' failed.
Aborted

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to