[Issue 21791] New: Stack overflow for forward-referenced enum initializer

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


https://issues.dlang.org/show_bug.cgi?id=21791

          Issue ID: 21791
           Summary: Stack overflow for forward-referenced enum initializer
           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

This code causes due to a stack overflow:

enum Foo
{
    a = Foo.init
}

--


More information about the Digitalmars-d-bugs mailing list