http://d.puremagic.com/issues/show_bug.cgi?id=5919
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 AssignedTo: nob...@puremagic.com ReportedBy: rayerd....@gmail.com --- Comment #0 from Haruki Shigemori <rayerd....@gmail.com> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------