summaryrefslogtreecommitdiff
path: root/darray.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2022-05-27 13:47:06 -0700
committerJohn Hawthorn <john@hawthorn.email>2022-06-16 13:24:48 -0700
commitae163cae6b3f01e0fb827e0a18d5889f9703617f (patch)
tree72d4c7c8545d6e6459a099336c196012a762b6eb /darray.h
parentcd5cafa4a380e2459862b6e99ff0c381362ef1be (diff)
Allow calling protected methods from refinements
Previously protected methods on refinements could never be called because they were seen as being "defined" on the hidden refinement ICLASS. This commit updates calling refined protected methods so that they are considered to be defined on the original class (the one being refined). This ended up using the same behaviour that was used to check whether a call to super was allowed, so I extracted that into a method. [Bug #18806]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5966
Diffstat (limited to 'darray.h')
0 files changed, 0 insertions, 0 deletions