[Issue 3735] op=

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 23 06:17:12 PDT 2010


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


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
                URL|                            |http://www.digitalmars.com/
                   |                            |d/1.0/expression.html
                 CC|                            |smjg at iname.com
           Platform|Other                       |All
            Version|2.038                       |D1 & D2
         OS/Version|Linux                       |All


--- Comment #1 from Stewart Gordon <smjg at iname.com> 2010-09-23 06:16:30 PDT ---
I assume you're talking about the fact that code like this fails:
----------
class Qwert {
    Qwert opAdd(Qwert yuiop) { return this; }
}

void main() {
    Qwert asfdg = new Qwert;
    asdfg += asdfg;
}
----------
I entirely agree that this code should work, on the bases both of common sense
and of this spec.

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