← Back to index
|
Original Bugzilla link
Bug 11992 – GIT HEAD Internal error: dmd-master\e2ir.c 2078
Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-01-25T04:23:00Z
Last change time
2014-04-10T07:59:23Z
Keywords
ice
Assigned to
nobody
Creator
temtaime
Comments
Comment #0
by temtaime — 2014-01-25T04:23:07Z
void main() { immutable ushort[3] d = [ 1 ]; ushort a; ushort[] arr; arr ~= [ a ] + d[]; } Gives Internal error: dmd-master\e2ir.c 2078 void main() { immutable ushort[3] d = [ 1 ]; ushort a; ushort[] arr; arr ~= [ a ] + d[]; } Gives Error: mismatched array lengths, 3 and 1 void main() { immutable int[1] d = [ 1 ]; int a; int[] arr; arr ~= [ a ] + d[]; } Gives internal error too
Comment #1
by temtaime — 2014-01-25T04:26:41Z
Sorry, second case should be void main() { immutable int[3] d = [ 1 ]; int a; int[] arr; arr ~= [ a ] + d[]; }
Comment #2
by k.hara.pg — 2014-04-10T07:59:23Z
The ice issue is a dup of issue 12179. *** This issue has been marked as a duplicate of issue 12179 ***