digitalmars.D.bugs - [Issue 1139] New: ICE casting to tuple member to tuple struct
- d-bugmail puremagic.com (27/27) Apr 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1139
- d-bugmail puremagic.com (11/11) Apr 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1139
http://d.puremagic.com/issues/show_bug.cgi?id=1139
Summary: ICE casting to tuple member to tuple struct
Product: D
Version: 1.012
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla digitalmars.com
ReportedBy: clugdbug yahoo.com.au
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);
}
--
Apr 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1139
fvbommel wxs.nl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
(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 ***
--
Apr 13 2007








d-bugmail puremagic.com