[MacRuby-devel] [MacRuby] #514: Singleton + Inheritance causes ArgumentError

MacRuby ruby-noreply at macosforge.org
Tue Dec 22 21:04:01 PST 2009


#514: Singleton + Inheritance causes ArgumentError
------------------------------------+---------------------------------------
 Reporter:  lastobelus@…            |        Owner:  lsansonetti@…        
     Type:  defect                  |       Status:  closed               
 Priority:  major                   |    Milestone:  MacRuby 0.5          
Component:  MacRuby                 |   Resolution:  fixed                
 Keywords:  Singleton, inheritance  |  
------------------------------------+---------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.5


Comment:

 The problem was in the method visibility change code path, should be fixed
 by r3161.

 {{{
 $ ./miniruby -I./lib -e "require 'singleton'; class X; end; class Y<X;
 include Singleton; end; p Y.instance"
 #<Y:0x2000a2e20>
 }}}

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



More information about the MacRuby-devel mailing list