digitalmars.D.bugs - [Issue 21792] New: Enum using itself as base type crashes dmd
- d-bugmail puremagic.com (19/19) Apr 02 2021 https://issues.dlang.org/show_bug.cgi?id=21792
https://issues.dlang.org/show_bug.cgi?id=21792 Issue ID: 21792 Summary: Enum using itself as base type crashes dmd Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: moonlightsentinel disroot.org The following code makes dmd crash with a stack overflow: enum Bar : Bar { a } --
Apr 02 2021