[Issue 7774] I've found a bug in D2

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 25 23:46:22 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7774



--- Comment #4 from Andrey Derzhavin <vangelisforever at yandex.ru> 2012-03-25 23:46:44 PDT ---
(In reply to comment #3)
> 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.

How can I get a DMD 2.059 linux version or DMD 2.0?

-- 
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