[Issue 14538] New: ICE(cast.c, typeMerge) - Assertion failed: (t1->ty == t2->ty)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 3 05:59:15 PDT 2015


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

          Issue ID: 14538
           Summary: ICE(cast.c, typeMerge) - Assertion failed: (t1->ty ==
                    t2->ty)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

First raised in GDC: http://bugzilla.gdcproject.org/show_bug.cgi?id=173

Confirmed is upstream: http://dpaste.dzfl.pl/3082491df870

Reduced test:
---
struct Cell
{
    dchar code;
    alias code this;
}

struct Row
{
    Cell[] fCells;
    Cell opIndex(int x) { return (x >= 0) ? fCells[x] : ' '; } 
}

--


More information about the Digitalmars-d-bugs mailing list