[chuck-users] Fresh bug
stefan.blixt at gmail.com
Sun Feb 8 04:49:03 EST 2009
In fact, I think you can remove the % and it still blows - a pause and then
Bus error here.
On Sun, Feb 8, 2009 at 3:38 AM, Kassen <signal.automatique at gmail.com> wrote:
> Get it while it's hot!
> int count;
> 3 %=> count++;
> 3 %=> ++count;
> Whether such constructions should be used at all is of course
> debatable and we do have this;
> ++count%3 => count;
> ....which does work but the above examples shouldn't lead to
> VM-collapses, which they do.
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
Release me, insect, or I will destroy the Cosmos!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chuck-users