[chuck-dev] mini ChucK bug

Tom Lieber lieber at princeton.edu
Sat May 2 16:56:27 EDT 2009


On Sat, May 2, 2009 at 4:09 PM, Kassen <signal.automatique at gmail.com> wrote:
>> <<< (int a) + 1 >>>;
>
> Likely similar to the previously reported;
> <<<3 => int foo>>>;
>
> Might be a minor bug because it wouldn't seem anyone would ever do
> that but it's annoying as that type of structure is one of the things
> to use when debugging to trace another bug. I often try to print any
> and all things trying to accertain the type of the return value.

haha, fun!

fun int almostrandom() {
    int a => int b;
    return b;
}

almostrandom() => int c;
almostrandom() => int d;
almostrandom() => int e;
<<< c, d, e >>>;

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


More information about the chuck-dev mailing list