Is this limitation of declarations order a bug?

Haruki Shigemori rayerd.wiz at gmail.com
Sat Apr 30 12:47:20 PDT 2011


We cannot compile the next code in dmd-trunk.

class C { static ushort x = y; static const ushort y = 1; }

Is it a bug or not?


More information about the Digitalmars-d-learn mailing list