[MacRuby] #1246: Module#ancestors is broken when include the Module.
#1246: Module#ancestors is broken when include the Module. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Test Script: {{{ #!ruby module M01; end module M02; include M01; end class C01; include M01; end p M01.ancestors p M02.ancestors p C01.ancestors }}} Result: {{{ $ ruby19 t.rb [M01] [M02, M01] [C01, M01, Object, Kernel, BasicObject] $ macruby t.rb [M01] [M02, M01, NSObject, Kernel] [C01, M01, NSObject, Kernel] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1246> MacRuby <http://macruby.org/>
#1246: Module#ancestors is broken when include the Module. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.11 Comment: Thanks, should be fixed in https://github.com/MacRuby/MacRuby/commit/79a436db0091d9294451d709410a0f47c3... -- Ticket URL: <http://www.macruby.org/trac/ticket/1246#comment:1> MacRuby <http://macruby.org/>
#1246: Module#ancestors is broken when include the Module. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Comment(by watson1978@…): Sorry. My test code seemed to be insufficient. New Test Script: {{{ #!ruby module M01; end module M02; end module M03; include M02; end module M02; include M01; end module M03; include M02; end p M01.ancestors p M02.ancestors p M03.ancestors }}} Result: {{{ $ ruby19 t.rb [M01] [M02, M01] [M03, M02, M01] $ macruby t.rb [M01] [M02, M01] [M03, M02, M01, M01, M02, M01] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1246#comment:2> MacRuby <http://macruby.org/>
#1246: Module#ancestors is broken when include the Module. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: major | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: Keywords: | ----------------------------------+----------------------------------------- Changes (by watson1978@…): * status: closed => reopened * resolution: fixed => Comment: reopend. -- Ticket URL: <http://www.macruby.org/trac/ticket/1246#comment:3> MacRuby <http://macruby.org/>
#1246: Module#ancestors is broken when include the Module. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: reopened => closed * resolution: => fixed Comment: That seems to be a different bug here than the previous one. I think it should be covered into a new ticket. I created https://www.macruby.org/trac/ticket/1248 -- Ticket URL: <http://www.macruby.org/trac/ticket/1246#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby