[Issue 4231] Solitary opUnary Postincrement and Postdecrement user defined operators are broken.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 8 02:12:48 PDT 2010


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



--- Comment #13 from Brad Roberts <braddr at puremagic.com> 2010-06-08 02:07:14 PDT ---
Something about that code bugs me, but I'm having trouble deciding exactly what
it is.

Part of it is that there's redundant work.  Move the new code inside the else
block?

Part of it is also that it presumes a good bit about the structure of the tree
inside a comma expression.  The comment suggests that it can only come from
generated code w/in the compiler.  How true is that?  How future proof is it?

Anyway, maybe my subconscious will figure out what's really bugging me while I
sleep.  More tomorrow... if anything comes to me.

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