#371: Module methods included in the class Module are not visible to other
classes.
---------------------------------+------------------------------------------
 Reporter:  m...@…               |       Owner:  lsansone...@…        
     Type:  defect               |      Status:  new                  
 Priority:  blocker              |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------
 {{{
 module A
   def b
     puts 'b'
   end
 end

 class Module
   include A
 end

 class C
   b()
 end
 }}}

 Running the above on Ruby 1.9 prints out 'b'.  Running it on MacRuby 0.5
 generates an "undefined method `b' for C:Class (NoMethodError)"

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

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to