Projects

Ticket #373 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

protected methods aren't

Reported by: chrisw@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.5
Component: MacRuby Keywords: protected access
Cc:

Description

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.

Change History

Changed 2 years ago by lsansonetti@…

Oops, looks like we forgot to implement the "protected" visibility :) I added this to the TODO list, thanks for the report.

Changed 2 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to MacRuby 0.5

Should be fixed in r2785.

Note: See TracTickets for help on using tickets.