[MacRuby-devel] [MacRuby] #564: Scoping within nested classes is broken

MacRuby ruby-noreply at macosforge.org
Mon Feb 8 08:51:46 PST 2010


#564: Scoping within nested classes is broken
---------------------------------------+------------------------------------
 Reporter:  joshua.ballanco@…          |        Owner:  lsansonetti@…        
     Type:  defect                     |       Status:  closed               
 Priority:  blocker                    |    Milestone:  MacRuby 0.6          
Component:  MacRuby                    |   Resolution:  fixed                
 Keywords:  module                     |  
---------------------------------------+------------------------------------
Changes (by martinlagardette@…):

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


Comment:

 Looks fixed!

 {{{
 $ cat test.rb
 module A
   module B
     def lestry
       puts "yay!"
     end
   end

   class C
   end

   class C::D
     include B
   end
 end

 A::C::D.new.lestry

 $ macruby test.rb
 yay!
 }}}

 I guess I can close? :P

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



More information about the MacRuby-devel mailing list