<div dir="ltr"><br><div class="gmail_quote">Stephen;<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Strangely, the following works fine. </blockquote>
<div><br>I'm increasingly suspecting "@" is ChucKian for saying "please" :¬).<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Must mean it's a garbage<br>
collection issue, since in this case there remains in memory a<br>
reference to the new Foo. </blockquote><div><br>I'm not surprised about that at all considering the error message talks about a reference count and Ge has mentioned using those for garbage collection.<br><br>Great, so now we do have at least some garbage collection, even if it's not working perfectly yet. That's at least a silver lining.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> If you add "baz @=> f;" to the end of this<br>
script, it crashed, which proves it.<br>
</blockquote><div><br>Ok.... but I'd say that line should be valid as there *is* a rather clear reference to "f". This is kept track of as well because appending the file with "int f;" instead will give a (correct) complaint about "f" already having been defined in this scope. I can understand there being some bug left in the initialisation of apended array locations as those are new but calling a instance "f" is not new at all. It seems like there is something going wrong with the reference count in assignment as well or instead.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
</div>new Foo @=> Foo @f;<br>
foo << f;<br></blockquote><div><br>Lovely. I'll take this to Mike's "spaghetti with spicy bug-sauce" and see how far that gets us.<br><br>It's kinda ironical how civilisation has gotten us to the point where we can debate programing languages internationally over a electronic network yet we are still forced to organise hunting parties. Nice catch you got there.<br>
</div></div><br>Cheers,<br>Kas.<br></div>