(In reply to Vladimir Panteleev from comment #1)
> This is a regression.
>
> Introduced in https://github.com/D-Programming-Language/dmd/pull/2467
The issue occurs only when the optional template parameters exist. So I think we cannot call it a "regression".
Comment #4 by dlang-bugzilla — 2014-09-20T16:58:08Z
(In reply to Kenji Hara from comment #2)
> The issue occurs only when the optional template parameters exist.
No, that was another, earlier change.
Pull 2467 allowed writing:
enum bool isSomeString(T) = true;
but this is not what the problem is with.
The line:
enum isSomeString(T) = true;
worked both before and after that change, however the warning was only emitted before that change.
So I think this was a regression after all.
Comment #5 by k.hara.pg — 2014-09-21T02:44:56Z
(In reply to Vladimir Panteleev from comment #4)
> (In reply to Kenji Hara from comment #2)
> > The issue occurs only when the optional template parameters exist.
>
> No, that was another, earlier change.
>
> Pull 2467 allowed writing:
>
> enum bool isSomeString(T) = true;
>
> but this is not what the problem is with.
>
> The line:
>
> enum isSomeString(T) = true;
>
> worked both before and after that change, however the warning was only
> emitted before that change.
>
> So I think this was a regression after all.
Ok, I confirmed the code was working in 2.064. I revert the status to 'regression'.
Comment #6 by github-bugzilla — 2014-09-21T07:33:30Z