Summary: nested structs with conext pointers fail
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-11-03 03:00:20 PDT ---
Nesting a struct with a context pointer into another will fail.
import std.stdio;

void main()
    int a;

    struct S
        void doit()
            writeln("pre ++a");
            writeln("post ++a");

    static struct SS
        S s;

    SS ss;
pre ++a
object.Error: Access Violation

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to