From: Brian Mitchell Date: 2006-09-27T04:52:15+09:00 Subject: Re: Fixnum/String randomly changing type On 9/26/06, Sam Web wrote: > > puts "Info is: #{info[0].class}" > > # info.each { |newval| puts "#{newval.class}"; break } > > One small correction... to match the output I gave, the commented out > line should read: > > # info.each { |newval| puts "#{newval}"; break } > > > The behavior is the same in both cases, going from String to Fixnum when > the 'each' loop is uncommented. This is a documented bug. The fix for those crashes made it into 1.8.5. I recommend you upgrade. Searching ruby-core will probably give you more results. (don't have a reference # handy right now). (However, I also seem to still get crashes when doing rdoc processing. I haven't been able to pin it down for a report yet though.) Brian.