<div dir="ltr">Fellow ChucKists,<br><br>I believe the code below demonstrates at least one bug that's keeping Mike from enjoying his spaghetti. There are definitely more related issues here but this is one. Appended non-primitive array locations can't be assigned to; clearly these are somehow different from array locations created when the array was created. Not creating a explicit "new" instance and instead appending a different instance directly also leads to reference issues, quite probably these are related. <br>
<br><br>=================================<br>class Foo<br> {<br> int value;<br> }<br><br>Foo foo[8];<br><br>Foo bar;<br>bar @=> foo[7];<br><br>foo << new Foo;<br><br><<<"all is fine so far", "">>>;<br>
<br>Foo baz;<br><br><<<"everybody crash ChucK tonight", "">>>;<br>baz @=> foo[8];<br>================================<br><br>Yours,<br>Kas.<br></div>