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

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


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

          Issue ID: 13502
           Summary: Stray '(' warning not emitted for documentation of
                    enum templates
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid, ddoc
          Severity: minor
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: thecybershadow at gmail.com

/// (
enum isSomeString(T) = true;

With -D -w, this should emit a warning. If you remove "(T)", the warning will
be emitted.

--


More information about the Digitalmars-d-bugs mailing list