Summary: Constant fields of forward referenced structs break
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-04-08 12:20:17 PDT ---
This code used to compile fine with DMD 2.058 but is broken in the git version
of DMD:

struct A(T)
    enum A!(T) test = A!(T)();

    static if(true)
        pragma(msg, "Not printed..."); // Not printed
        enum A!(T) blah = A!(T)();

void main()
    auto a = A!(char).blah; // Error: no property 'blah' for type 'A!(char)'

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

Reply via email to