[MacRuby] #1474: Modules mixed into reopened classes do not show in #ancestors
#1474: Modules mixed into reopened classes do not show in #ancestors ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: reduction ------------------------------------+--------------------------------------- When I mix a module into a class that I have reopened, the module does not show up to `Module#ancestors`, but the methods still get mixed in. {{{ module Test def meow puts "woof" end end class Cat; end p Cat.ancestors class Cat include Test end p Cat.ancestors Cat.new.meow }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1474> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby