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


Tomasz Sowiński <tomeks...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomeks...@gmail.com


--- Comment #2 from Tomasz Sowiński <tomeks...@gmail.com> 2010-03-14 10:20:30 
PDT ---
I confirm this bug is still present in DMD 2.041. I expect it to be a major
hindrance with the new operator overloading regime in which idioms like below
are bound to get popular:

struct Matrix {
    Matrix opOpAssign(string op)(real a);
    Matrix opOpAssign(string op)(Matrix m);
}

void main() {
    Matrix a;
    a += 3;
}

Error: template instance opOpAssign!("+=") matches more than one template
declaration, opOpAssign(string op) and opOpAssign(string op)

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

Reply via email to