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

          Issue ID: 15092
           Summary: [ICE] Assertion failed: (type->ty != Tstruct ||
                    ((TypeStruct *)type)->sym == this), function semantic,
                    file struct.c, line 936.
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

class A
{
    struct B
    {
    }

    struct B
    {
    }
}

Assertion failed: (type->ty != Tstruct || ((TypeStruct *)type)->sym == this),
function semantic, file struct.c, line 936.

--

Reply via email to