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

          Issue ID: 21319
           Summary: DMD crashes on immutable circular reference
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Compiling this code causes to crash DMD.

class C
{
    immutable C c = new C();
}


Tested with v2.094.1-beta.1.

--

Reply via email to