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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 20 19:44:56 PDT 2014


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Stray '(' warning not       |[REG2.065] Stray '('
                   |emitted for documentation   |warning not emitted for
                   |of enum templates           |documentation of enum
                   |                            |templates
           Severity|normal                      |regression

--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
(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'.

--


More information about the Digitalmars-d-bugs mailing list