[Issue 24041] New: Anon enum member ignores repeated type or identifier

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 8 16:34:44 UTC 2023


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

          Issue ID: 24041
           Summary: Anon enum member ignores repeated type or identifier
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: nick at geany.org

Each of these lines should error:

 enum
 {
    int x y,
    int bool i = 3,
    j int k = 3
 }

PR incoming.

--


More information about the Digitalmars-d-bugs mailing list