[MacRuby] #1120: User defined classes created with singleton methods
#1120: User defined classes created with singleton methods ------------------------------------------+--------------------------------- Reporter: smorss@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------------+--------------------------------- I am running MacRuby 0.8. If I create a simple class: class X ; end And then I ask an instance of it for its singleton methods: X.new.singleton_methods I get: [:==, :class, :hash, :dup] There shouldn't be any (should return []). "Object.new.singleton_methods" has the correct behavior. -- Ticket URL: <http://www.macruby.org/trac/ticket/1120> MacRuby <http://macruby.org/>
#1120: User defined classes created with singleton methods ------------------------------------------+--------------------------------- Reporter: smorss@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------------+--------------------------------- Comment(by martin@…): Can't reproduce with https://github.com/MacRuby/MacRuby/commit/8b4d3bd0129c385668b1933ec646a14591... -- Ticket URL: <http://www.macruby.org/trac/ticket/1120#comment:1> MacRuby <http://macruby.org/>
#1120: User defined classes created with singleton methods ------------------------------------------+--------------------------------- Reporter: smorss@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------------+--------------------------------- Comment(by jhemmelg@…): I confirm this is still fixed at commit [https://github.com/MacRuby/MacRuby/commit/19514ab3772bb743960deaaf18d57dc721...]. This issue can be closed. -- Ticket URL: <http://www.macruby.org/trac/ticket/1120#comment:3> MacRuby <http://macruby.org/>
#1120: User defined classes created with singleton methods ------------------------------------------+--------------------------------- Reporter: smorss@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: | ------------------------------------------+--------------------------------- Changes (by watson1978@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.11 Comment: Thank you for your report. Indeed, this issue seems to already close. -- Ticket URL: <http://www.macruby.org/trac/ticket/1120#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby