On 3/23/14, 7:45 PM, Daniel Murphy wrote:
"Andrei Alexandrescu"  wrote in message
news:[email protected]...

One concession we could make would be to disallow using the result of
the operator. That might actually catch all bugs discussed herein.

if (condition) ++i, ++j; // fine
foreach (e; exp1, exp2) {}   // ERROR
if(pMgr->ShouldRecordEvent(eSE_Weapon), pOwnerRaw) // ERROR
return pMgr->RecordEvent(eSE_Weapon), pOwnerRaw; // ERROR

I think this would be a compromise worth looking into.


I could live with that, although I'd still rather see it die.

Boil the frog slowly. -- Andrei

Reply via email to