"H. S. Teoh" <[email protected]> wrote in message news:[email protected]... > > Argh. So I have to hack around this by casting an immutable static array > key into a mutable one inside the AA? (Which should work, I suppose, > because a copy is being made.) Or should I just leave this alone for now > and wait for dmd to be fixed? > >
I think the bug only applies to the constructor. Up to you. If you use a workaround, try and put a static assert in that will fail when the bug's fixed.
