digitalmars.D.bugs - [Issue 891] New: Crash when compiling the following code (tested with 1.0, 1.001 and 1.002)
- d-bugmail puremagic.com (30/30) Jan 26 2007 http://d.puremagic.com/issues/show_bug.cgi?id=891
- d-bugmail puremagic.com (9/9) Feb 12 2007 http://d.puremagic.com/issues/show_bug.cgi?id=891
http://d.puremagic.com/issues/show_bug.cgi?id=891 Summary: Crash when compiling the following code (tested with 1.0, 1.001 and 1.002) Product: D Version: 1.001 Platform: PC OS/Version: Windows Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: jascha mainia.de class Vector(T, uint dim) { T[dim] data; } T dot(T,uint dim)(Vector!(T,dim) a, Vector!(T,dim) b) { T tmp; for ( int i = 0; i < dim; ++i ) tmp += a[i]*b[i]; return tmp; } void main() { Vector!(double,3) a,b; dot(a,b); } --
Jan 26 2007
http://d.puremagic.com/issues/show_bug.cgi?id=891 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla digitalmars.com 2007-02-12 03:42 ------- Fixed DMD 1.005 --
Feb 12 2007