Summary: Error aliasing an enum member through an alias of a
                    type inside a struct
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-02-29 22:44:23 PST ---
Works in D1 (1.073) but not in D2 (2.058):

struct A

alias A A2;
alias A2.E E2; // Fine

struct B
    alias A.E E1; // Fine
    alias A A2;
    alias A2.E E2; // Error: alias test.B.E2 cannot alias an expression 0

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

Reply via email to