[Issue 21792] New: Enum using itself as base type crashes dmd

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 2 19:51:13 UTC 2021


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 at puremagic.com
          Reporter: moonlightsentinel at disroot.org

The following code makes dmd crash with a stack overflow:

enum Bar : Bar
{
    a
}

--


More information about the Digitalmars-d-bugs mailing list