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


David Simcha <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from David Simcha <[email protected]> 2010-01-14 08:34:07 PST ---
Also happens when opAssign is overloaded:

struct Foo {
    uint stuff;

    void opAssign(Foo rhs) {
        stuff = rhs.stuff;
    }
}

void main() {
    Foo[string] AA;
    AA["bar"] = Foo.init;  // Range violation.
}

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

Reply via email to