[chuck-users] Fresh bug

Stefan Blixt 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.
/Stefan

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++;
> //or
> 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.
>
> Yours,
> Kas.
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>



-- 
Release me, insect, or I will destroy the Cosmos!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20090208/989f9595/attachment.htm>


More information about the chuck-users mailing list