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: nob...@puremagic.com Reporter: ibuc...@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] : ' '; } } --