digitalmars.D.bugs - [Issue 1290] New: Two ICEs, both involving real, imaginary, ? : and +=.
- d-bugmail puremagic.com (26/26) Jun 24 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1290
- d-bugmail puremagic.com (9/9) Jul 01 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1290
http://d.puremagic.com/issues/show_bug.cgi?id=1290 Summary: Two ICEs, both involving real, imaginary, ? : and +=. Product: D Version: 1.016 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: clugdbug yahoo.com.au I think these are both manifestations of a single error: failing to detect a type mismatch. I think I've reported before that real+=complex compiles. They should just issue a type mismatch error. ------- void main() { double a = 0; double b = 1; // Internal error: ..\ztc\cg87.c 3233 a += (1? b: 1+1i)*1i; // Internal error: ..\ztc\cod2.c 1680 a += (b?1:b-1i)*1i; } --
Jun 24 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1290 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla digitalmars.com 2007-07-01 14:09 ------- Fixed DMD 1.018 and DMD 2.002 --
Jul 01 2007