[Issue 3100] New: Assertion failure when a struct with members is shared

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 27 08:05:18 PDT 2009


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: nobody at puremagic.com
        ReportedBy: robert at 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: -------


More information about the Digitalmars-d-bugs mailing list