← Back to index
|
Original Bugzilla link
Bug 20538 – malformed enum definition compiles
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2020-01-27T17:41:31Z
Last change time
2020-02-13T03:33:16Z
Keywords
pull
Assigned to
No Owner
Creator
asumface
Comments
Comment #0
by asumface — 2020-01-27T17:41:31Z
enum { = 1 } compiles since 2.082.1, according to run.dlang.io. UDAs for enum members were introduced in this release. enum { = 1, 2 } raises: Error: `2` is not a valid attribute for enum members
Comment #1
by dlang-bot — 2020-02-12T14:45:50Z
@alexandrumc created dlang/dmd pull request #10783 "Fix Issue 20538 - malformed enum definition compiles" fixing this issue: - Fix Issue 20538 - malformed enum definition compiles
https://github.com/dlang/dmd/pull/10783
Comment #2
by dlang-bot — 2020-02-13T03:33:16Z
dlang/dmd pull request #10783 "Fix Issue 20538 - malformed enum definition compiles" was merged into master: - 9f3a638f8b27259d7f87c8efbab4a83d00506370 by Alexandru Militaru: Fix Issue 20538 - malformed enum definition compiles
https://github.com/dlang/dmd/pull/10783