Bug 14538 – ICE(cast.c, typeMerge) - Assertion failed: (t1->ty == t2->ty)

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-05-03T12:59:00Z
Last change time
2015-06-17T21:05:01Z
Keywords
ice-on-invalid-code
Assigned to
nobody
Creator
ibuclaw

Comments

Comment #0 by ibuclaw — 2015-05-03T12:59:15Z
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] : ' '; } }
Comment #1 by ibuclaw — 2015-05-07T07:20:25Z
Comment #2 by github-bugzilla — 2015-05-07T19:20:59Z
Comment #3 by github-bugzilla — 2015-06-17T21:05:01Z