www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23122] New: enum member UDAs semantics are not checked properly

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

          Issue ID: 23122
           Summary: enum member UDAs semantics are not checked properly
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: b2.temp gmx.com

The following code compiles without error, but the `ERROR` symbol is not
existing

```
enum E
{
     ERROR e,
}
```

--
May 17 2022