[chuck-users] severe ChucK v1.3.0.0 bug

Kassen signal.automatique at gmail.com
Wed Aug 29 12:37:35 EDT 2012


> fun void foo(string s)
> {
>         <<< s >>>;
> }
> I assume that the string value reference is released on foo() return but
> not increased when passing it to foo().

Yes, me too. That happens though it's not always easy to predict when
it will happen.
fun void foo(string @ s) {stuff....

...would sometimes fix it, I seem to remember. This technique is known
as "sprinkling in some more @ signs" in professional terms.



More information about the chuck-users mailing list