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


kenn...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kenn...@gmail.com
         Resolution|                            |FIXED


--- Comment #3 from kenn...@gmail.com 2011-04-23 09:31:02 PDT ---
Looks like this has been fixed. All programs in this page compiles for me. 

--------
struct Foo {
    double x, y;

    ref double get(Args...)(Args args) if (args.length == 4) {
        return x;
    }
}
void main() {
    Foo f;
    f.get(4,5,6,7) = 6;
    assert(f.x == 6);
}
--------

Can we fix this std.complex bug then?

"Some operators, such as opAssign and opOpAssign, should return by ref, but
currently don't. This will be implemented as soon as DMD bug 2460 is fixed."

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

Reply via email to