[Issue 23258] New: ICE on SumType of two arrays of classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 18 09:09:41 UTC 2022


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

          Issue ID: 23258
           Summary: ICE on SumType of two arrays of classes
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: boris2.9 at gmail.com

test:
---
struct SumType(Types...)
{
    this(Types[0])
    {
    }
    this(Types[1])
    {
    }
}

alias A2 = SumType!(C1[], C2[]);

class C1
{
}

class C2
{
}
---

Patch ready.

--


More information about the Digitalmars-d-bugs mailing list