[chuck-users] array declaration bug

Tom Lieber lieber at princeton.edu
Tue Nov 11 09:33:25 EST 2008


On Tue, Nov 11, 2008 at 6:07 AM, eduard aylon <eduard.aylon at gmail.com> wrote:
> I found out that declaring arrays in this way:
>
> float a[], b[];
>
> is buggy, as it seems the type for b[] is not taken as float. Maybe
> something else happens here (maybe passing by ref), I haven't check
> thoroughly (don't know if it happens with other types as well).

There are a few related bugs listed on the wiki. A workaround is to
declare them separately.

  http://wiki.cs.princeton.edu/index.php/ChucK/Bugs

-- 
Tom Lieber
http://AllTom.com/


More information about the chuck-users mailing list