http://d.puremagic.com/issues/show_bug.cgi?id=7774
timon.g...@gmx.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |timon.g...@gmx.ch Resolution| |WORKSFORME --- Comment #3 from timon.g...@gmx.ch 2012-03-25 13:48:49 PDT --- You have found a bug in DMD 2.058, not in D2. Smaller test case: struct A{ double x; void f(double d){x%=cast(double)d;} } void main(){ auto a=A(10); a.f(8); assert(a.x!=10.0); } Works with DMD 2.059head, fails with DMD 2.058. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------