[MacRuby] #1259: aborting in no superclass

MacRuby ruby-noreply at macosforge.org
Tue May 3 20:22:42 PDT 2011


#1259: aborting in no superclass
----------------------------+-----------------------------------------------
 Reporter:  tglee@…         |       Owner:  lsansonetti@…        
     Type:  defect          |      Status:  new                  
 Priority:  blocker         |   Milestone:                       
Component:  MacRuby         |    Keywords:                       
----------------------------+-----------------------------------------------
 I am not sure if this aborting message in a super call is proper. There is
 a discrepancy between macruby and cruby 1.9.2 shown as following
 captures...

 $ macruby -e 'p MACRUBY_VERSION, MACRUBY_REVISION'
 "0.11"
 "git commit d54db7edd09046a6e74364eb49b35d48b79f13a7"


 $ macirb
 irb(main):001:0> super
 interpreter: unrecognized call instruction: (ID: 65)
   %0 = call i8* @rb_vm_current_block()
 Abort trap
 $


 $ irb1.9
 irb(main):001:0> super
 NoMethodError: super: no superclass method `irb_binding' for main:Object
         from (irb):1
         from /opt/local/bin/irb1.9:12:in `<main>'
 irb(main):002:0>

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1259>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list