[MacRuby] #1444: MacRuby crashes when parsing some files with ripper

MacRuby ruby-noreply at macosforge.org
Thu Feb 9 20:28:41 PST 2012


#1444: MacRuby crashes when parsing some files with ripper
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…        
     Type:  defect                  |      Status:  new                  
 Priority:  blocker                 |   Milestone:                       
Component:  MacRuby                 |    Keywords:                       
------------------------------------+---------------------------------------

Comment(by watson1978@…):

 This issue is reproduced by following code.
 {{{
 require 'ripper'

 str =<<EOS
 def test(x)
   f = 1
   5.times{|f| f }
 end
 EOS

 p Ripper::SexpBuilder.new(str).parse
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1444#comment:3>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list