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



--- Comment #3 from Michael Rynn <y0uf00...@gmail.com> 2009-12-16 13:09:14 PST 
---
We are now 2.037 and still not fixed.

The documentation on D2.0 Associative Arrays with struct is wrong.
Adding the post-blit still allows the struct to be used as key, but not a
value. This is wierd. What is the approved opAssign example return type now?

     pblit opAssign(ref const pblit S)
     {
         this.x = S.x;
         return this; // return a value
     }

     -- OR ---
     pblit* opAssign(ref const pblit S)
     {
         this.x = S.x;
         return &this; // this is a struct!
     }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to