digitalmars.D.bugs - [Issue 21797] New: Stack overflow for forward-referenced enum min /
- d-bugmail puremagic.com (21/21) Apr 04 2021 https://issues.dlang.org/show_bug.cgi?id=21797
https://issues.dlang.org/show_bug.cgi?id=21797 Issue ID: 21797 Summary: Stack overflow for forward-referenced enum min / max 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 crashes DMD with a stack overflow: enum Foo { a, b = Foo.min, c } --
Apr 04 2021