[MacRuby] #901: exception occurs when calling defined?(super) outside method block (was: Segfault occurs when calling defined? from super within instance's method that was defined with define_method.)

MacRuby ruby-noreply at macosforge.org
Mon Sep 13 14:40:00 PDT 2010


#901: exception occurs when calling defined?(super) outside method block
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 I committed a change as r4511 which now raises an exception when
 defined?(super) is used outside a method block. We could eventually
 support that, but later (so I keep the bug open). At least it doesn't
 crash anymore.

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



More information about the macruby-tickets mailing list