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

           Summary: Assertion failure when a struct with members is shared
           Product: D
           Version: 2.030
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: rob...@octarineparrot.com


When compiling the following code using dmd 2.030:
----
struct Foo
{
        int a; // Commenting this out prevents the assertion
}
shared Foo foo;
----
I get the following assertion:
dmd: cast.c:413: virtual MATCH StructLiteralExp::implicitConvTo(Type*):
Assertion `t->mod == 4' failed.

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

Reply via email to