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

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:
------- You are receiving this mail because: -------

Reply via email to