[Issue 7774] I've found a bug in D2
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 25 13:48:52 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7774
timon.gehr at gmx.ch changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |timon.gehr at gmx.ch
Resolution| |WORKSFORME
--- Comment #3 from timon.gehr at 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: -------
More information about the Digitalmars-d-bugs
mailing list