← Back to index
|
Original Bugzilla link
Bug 1139 – ICE casting to tuple member to tuple struct
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2007-04-13T08:52:00Z
Last change time
2014-02-16T15:22:52Z
Assigned to
bugzilla
Creator
clugdbug
Comments
Comment #0
by clugdbug — 2007-04-13T08:52:18Z
Useless bit of code, but it shouldn't ICE. Internal error: ..\ztc\cod1.c 3282 ----------- struct Dog(B...) { B values; static Dog!(B) create(B x) { return *cast(Dog!(B)*)(&x[1]); } } void main() { auto c = Dog!(int, int).create(7,4); }
Comment #1
by fvbommel — 2007-04-13T09:34:02Z
(This one seems to have a typo in the title, so I'll mark this one as the duplicate) *** This bug has been marked as a duplicate of 1140 ***