Compile-time immutable AA?

Timon Gehr timon.gehr at gmx.ch
Fri Aug 2 19:17:32 PDT 2013


On 08/03/2013 03:50 AM, Syniurge wrote:
> Turning it into an enum works.
>
> I still have no idea why assigning an AA literal to an immutable AA
> isn't acceptable,

It is a bug in the compiler implementation

> but since it's only used at compile time it's probably
> better to make it an enum.

Indeed.


More information about the Digitalmars-d-learn mailing list