#564: Scoping within nested classes is broken
---------------------------------------+------------------------------------
 Reporter:  joshua.balla...@…          |       Owner:  lsansone...@…        
     Type:  defect                     |      Status:  new                  
 Priority:  blocker                    |   Milestone:                       
Component:  MacRuby                    |    Keywords:  module               
---------------------------------------+------------------------------------
 The following code throws an 'uninitialize constant: A::C::D::B' error,
 when it should actually just find the module "B" --
 {{{
 module A
   module B
   end

   class C
   end

   class C::D
     include B
   end
 end
 }}}

 Note: Removing the surrounding "module A" eliminates the lookup problem.

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to