[MacRuby-devel] [macruby] #87: nil.superclass fails and hangs

macruby ruby-noreply at macosforge.org
Sun Jun 22 20:35:39 PDT 2008


#87: nil.superclass fails and hangs
------------------------------+---------------------------------------------
 Reporter:  kourge at gmail.com  |       Owner:  lsansonetti at apple.com
     Type:  defect            |      Status:  new                  
 Priority:  minor             |   Milestone:                       
Component:  MacRuby           |    Keywords:                       
------------------------------+---------------------------------------------
 Steps to reproduce is as follows.
 Open up macirb and enter:
 {{{
 nil.superclass
 }}}
 macruby would hang and the CPU usage would increase until being forced to
 quit. The standard irb would raise a NoMethodError:
 {{{
 NoMethodError: undefined method `superclass' for nil:NilClass
         from (irb):1
 }}}

-- 
Ticket URL: <http://ruby.macosforge.org/trac/ticket/87>
macruby <http://ruby.macosforge.org/>


More information about the MacRuby-devel mailing list