[nem-en] incorrect side effect of ++ operator
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Mon Sep 27 15:34:48 CEST 2004
Michal Moskal <malekith at pld-linux.org> writes:
> Now, when the warning is optional, we can make ++ return value, there
> is no problem with that. We could even make = return value, but I would
> rather avoid this one (if (x = true) ... vs if (x == true) ...).
What about the typing of
if cond then
++i
else
something-of-type-void
?
--
__("< Marcin Kowalczyk
\__/ qrczak at knm.org.pl
^^ http://qrnik.knm.org.pl/~qrczak/
More information about the devel-en
mailing list