[Issue 11506] pure evaluation should be shortcircuited

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 12 15:04:11 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11506


Temtaime <temtaime at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |temtaime at gmail.com


--- Comment #1 from Temtaime <temtaime at gmail.com> 2013-11-12 15:04:07 PST ---
Hi Andrei.

I disagree with first example.

Sometimes it's useful to use comma operator. And it must evaluate all the
expressions.

Changing the behavior can break some code that rely on it and surprise newbies
as for example in c++ it always evaluate all exprs.

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


More information about the Digitalmars-d-bugs mailing list