← Back to index
|
Original Bugzilla link
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
https://github.com/D-Programming-Language/dmd/pull/4636
Comment #2
by github-bugzilla — 2015-05-07T19:20:59Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c00f4e55cf5ee9c1f7fb5373b811d3a0fe0b4da9
Issue 14538: Fix ICE in typeMerge
https://github.com/D-Programming-Language/dmd/commit/7a66dff14f8f2bfa091c108f0d4d10deed2092c3
Merge pull request #4636 from ibuclaw/issue14538 Issue 14538: Fix ICE in typeMerge
Comment #3
by github-bugzilla — 2015-06-17T21:05:01Z
Commits pushed to stable at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c00f4e55cf5ee9c1f7fb5373b811d3a0fe0b4da9
Issue 14538: Fix ICE in typeMerge
https://github.com/D-Programming-Language/dmd/commit/7a66dff14f8f2bfa091c108f0d4d10deed2092c3
Merge pull request #4636 from ibuclaw/issue14538