[MacRuby] #373: protected methods aren't
#373: protected methods aren't ---------------------------------+------------------------------------------ Reporter: chrisw@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: protected access ---------------------------------+------------------------------------------ Working through a trivial variation on the example class presented in Chapter 3 of PragProg's Programming Ruby 1.9, I noticed that MacRuby 0.5 beta 1 doesn't enforce protected protection status of a method. It does however enforce private protection status. I do not have this problem with the same code run by Ruby 1.8.7 as shipped with Mac OS X 10.6. I presume that the example in the PragProg book is valid for Ruby 1.9. -- Ticket URL: <http://www.macruby.org/trac/ticket/373> MacRuby <http://macruby.org/>
#373: protected methods aren't ---------------------------------+------------------------------------------ Reporter: chrisw@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: protected access ---------------------------------+------------------------------------------ Comment(by lsansonetti@…): Oops, looks like we forgot to implement the "protected" visibility :) I added this to the TODO list, thanks for the report. -- Ticket URL: <http://www.macruby.org/trac/ticket/373#comment:1> MacRuby <http://macruby.org/>
#373: protected methods aren't ---------------------------------+------------------------------------------ Reporter: chrisw@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: protected access | ---------------------------------+------------------------------------------ Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.5 Comment: Should be fixed in r2785. -- Ticket URL: <http://www.macruby.org/trac/ticket/373#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby