April 04, 2021 [Issue 21797] New: Stack overflow for forward-referenced enum min / max | ||||
---|---|---|---|---|
| ||||
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 } -- |
Copyright © 1999-2021 by the D Language Foundation