Summary: The declaration of static members depend in the order
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: major
          Priority: P2
         Component: DMD

--- Comment #0 from Haruki Shigemori <> 2011-05-03 02:03:06 
PDT ---
class C
    static ushort x = y;
    static const ushort y = 1;

void main() {}

main.d(3): Error: variable y cannot be read at compile time

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

Reply via email to