https://issues.dlang.org/show_bug.cgi?id=13502
Kenji Hara <[email protected]> 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 <[email protected]> --- (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'. --
