Bug 23516 – Anonymous enum without base type causes segfault inferring member value
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2022-11-28T11:32:32Z
Last change time
2022-12-15T22:50:03Z
Keywords
pull
Assigned to
No Owner
Creator
Nick Treleaven
Comments
Comment #0 by nick — 2022-11-28T11:32:32Z
struct Q {
enum max = Q();
}
enum {
c = Q(),
d
}
Pull incoming.
Comment #1 by dlang-bot — 2022-11-28T11:37:36Z
@ntrel created dlang/dmd pull request #14658 "Fix Issue 23516 - Anonymous enum without base type causes segfault inferring member value" fixing this issue:
- Fix Issue 23516 - Anonymous enum without base type causes segfault inferring member value
https://github.com/dlang/dmd/pull/14658
Comment #2 by dlang-bot — 2022-12-05T12:06:18Z
dlang/dmd pull request #14658 "Fix Issue 23516 - Anonymous enum without base type causes segfault inferring member value" was merged into stable:
- 38e3f6dc01b89c7328701ea06dff1bcfd67cab71 by Nick Treleaven:
Fix Issue 23516 - Anonymous enum without base type causes segfault inferring member value
Use base type if available
https://github.com/dlang/dmd/pull/14658
Comment #3 by dlang-bot — 2022-12-15T22:50:03Z
dlang/dmd pull request #14701 "merge stable" was merged into master:
- e419af2af149e86b2a9a976421a076462dd4e566 by Nick Treleaven:
Fix Issue 23516 - Anonymous enum without base type causes segfault inferring member value (#14658)
Use base type if available
https://github.com/dlang/dmd/pull/14701