On Monday, February 27, 2012 18:19:59 Nathan M. Swan wrote:
> 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"
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,"
"Nathan M. Swan" wrote in message
news:jubnbnovcksfyagta...@forum.dlang.org...
>I don't think this should happen:
>
>private enum KeywordsToTypes = [
>"import"d: TT.KwIMPORT,
>"public"d: TT.KwPUBLIC,
>"protected"d : TT.KwPROTECTED,
>
On Monday, February 27, 2012 09:34:49 Nathan M. Swan wrote:
> I don't think this should happen:
>
> private enum KeywordsToTypes = [
> "import"d: TT.KwIMPORT,
> "public"d: TT.KwPUBLIC,
> "protected"d : TT.KwPROTECTED,
> "private"d :
I don't think this should happen:
private enum KeywordsToTypes = [
"import"d: TT.KwIMPORT,
"public"d: TT.KwPUBLIC,
"protected"d : TT.KwPROTECTED,
"private"d : TT.KwPRIVATE,
"static"d: TT.KwSTATIC,
];
static