#443: included method in an included module don't get defined in the extended object -------------------------------------+-------------------------------------- Reporter: mattaimonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- Description changed by mattaimonetti@…: Old description:
{{{ module Y def y puts 'y' end end
module X include Y def x puts 'x' end end
o = Object.new o.extend X o.x o.y }}}
Bug reported by Rich Kilmer which is the reason why HotCocoa #on_action doesn't work in b2
New description: {{{ module Y def y puts 'y' end end module X include Y def x puts 'x' end end o = Object.new o.extend X o.x o.y NoMethodError: undefined method `y' for #<NSObject:0x2000f34e0> }}} Bug reported by Rich Kilmer which is the reason why HotCocoa #on_action doesn't work in b2 -- -- Ticket URL: <http://www.macruby.org/trac/ticket/443#comment:1> MacRuby <http://macruby.org/>