On Sunday 06 March 2011 16:30:00 Andrej Mitrovic wrote:
> What about:
>
> enum : string[int]
> {
> aa = [1: "blue", 2: "red"]
> }
>
> enum string s = aa[1];
>
> void main()
> {
> writeln(s);
> }
In both cases, the AA does not exist past compile time. That may be why it
works.
- Jonathan M Davis