in not working with enum'd AA

Nathan M. Swan nathanmswan at gmail.com
Mon Feb 27 09:19:59 PST 2012


On Monday, 27 February 2012 at 09:13:24 UTC, Jonathan M Davis 
wrote:
> It would be far better to use immutable.
>
> - Jonathan M Davis

That doesn't work either, as it says:

         Error: non-constant expression 
["import"d:cast(TokenType)2,"public"d:cast(TokenType)3,"protected"d:cast(TokenType)4,"private"d:cast(TokenType)5,"static"d:cast(TokenType)6]




More information about the Digitalmars-d mailing list