[Issue 3188] remove opIndexAssign from the language

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 27 07:43:44 PDT 2009


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





--- Comment #9 from Kyle Foley <k-foley at onu.edu>  2009-07-27 07:43:43 PDT ---
(In reply to comment #7)
> opMulAssign exists and return by ref was meant to solve an unrelated problem, I
> believe. It's not a replacement for assign operators.

The problem is that opIndex and opIndexAssign use the same syntax, whereas the
others (e.g. opMul and opMulAssign) use a distinct syntax: opMul is * and
opMulAssign is *=.  Now that ref return is available, I see no reason to keep
opIndexAssign around.  The added complexity is not necessary.

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