digitalmars.D.bugs - [Issue 883] New: ICE: nested templates with integer arguments
- d-bugmail puremagic.com (29/29) Jan 24 2007 http://d.puremagic.com/issues/show_bug.cgi?id=883
- d-bugmail puremagic.com (11/11) Apr 05 2007 http://d.puremagic.com/issues/show_bug.cgi?id=883
http://d.puremagic.com/issues/show_bug.cgi?id=883
Summary: ICE: nested templates with integer arguments
Product: D
Version: 1.001
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla digitalmars.com
ReportedBy: lio lunesu.com
// Not sure if this is valid code or not:
struct Foo(int I)
{
void Bar(int A)( Foo!(A) x ) {}
}
void main()
{
Foo!(1) x,y;
x.Bar(y);//needed for ICE
}
parse ice
semantic ice
import object
semantic2 ice
semantic3 ice
*access violation at 0x009f9a91
--
Jan 24 2007
http://d.puremagic.com/issues/show_bug.cgi?id=883
thomas-dloop kuehne.cn changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Added to DStress as
http://dstress.kuehne.cn/run/t/template_57_A.d
Seems to be fixed in DMD-1.010.
--
Apr 05 2007








d-bugmail puremagic.com