[Issue 13502] Stray '(' warning not emitted for documentation of enum templates

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 20 09:58:08 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13502

--- Comment #4 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(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.

--


More information about the Digitalmars-d-bugs mailing list