[Issue 23516] New: Anonymous enum without base type causes segfault inferring member value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 28 11:32:32 UTC 2022


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

          Issue ID: 23516
           Summary: Anonymous enum without base type causes segfault
                    inferring member value
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: nick at geany.org

struct Q {
        enum max = Q();
}

enum {
        c = Q(),
        d
}

Pull incoming.

--


More information about the Digitalmars-d-bugs mailing list