The following code compiles without error, but the `ERROR` symbol is not existing ``` enum E { @ERROR e, } ```
Just ran into this. It would be nice if at least it worked.
@SixthDot created dlang/dmd pull request #14728 "fix issue 23122 - enum member UDAs semantics are not checked properly" fixing this issue: - fix issue 23122 - enum member UDAs semantics are not checked properly https://github.com/dlang/dmd/pull/14728
dlang/dmd pull request #14728 "fix issue 23122 - enum member UDAs semantics are not checked properly" was merged into master: - 20942efc0dcf2feeda0772516dd573c2fa6db8c1 by Basile Burg: fix issue 23122 - enum member UDAs semantics are not checked properly https://github.com/dlang/dmd/pull/14728