int ar[];
ar.size(10); // crashes here, "NullPointerException: shred[id=1:*unnamed3], PC=[5]"
for (0 => int i; i < 4; i++) {
ar << i; // crashes here, "NullPointerException: (array append) in shred[id=1:*unnamed3], PC=[13]"
}
playing around a bit, I now find that if I follow what the example
array_dynamic.ck says and replace "int ar[]" with "int ar[0]", then the code works. I guess that means this isn't a bug but a meaningful difference between ar[] and ar[0]? In any case, I might amend the
array_dynamic.ck to say something like
"float argh[0]; // must set argh[0] and not argh[]"
Thanks again,