[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: [BUG] unknown node type 0

Steven Jenkins

9/3/2003 11:12:00 PM

Marek Janukowicz wrote:
> On Thu, 4 Sep 2003 01:57:38 +0900, Hal Fulton wrote:
>> [BUG] unknown node type 0
>> ruby 1.8.0 (2003-08-04) [i686-linux-gnu]
>>
>> Aborted (core dumped)
>>
>>I'm on a quest to reproduce it reliably. Programmers often
>>have trouble reproducing. :)
>>
>>It's a strange and subtle bug. The slightest change in an
>>unrelated part of the source code will make it go away.
>>
>>Adding a (truly irrelevant) blank line or a commented line
>>will make it go away.
>
>
> I've seen this error several times. I also had a problem reproducing it.
> I can confirm all the symptoms you reported (including the workaround by
> adding blank line). The only difference is that I was using Ruby 1.6.8
> then. After upgrading to 1.8.0 I've never seen the bug again.

I've also seen the problem and this workaround in 1.6.8. Haven't done
much with 1.8.0 yet. I *might* be able to reproduce it by digging
through CVS and looking for a snapshot of my code that had the problem
until I added a specific comment line. I'll do that if someone really
needs an example.

Steve