diff options
author | John Hawthorn <[email protected]> | 2022-06-16 13:28:39 -0700 |
---|---|---|
committer | John Hawthorn <[email protected]> | 2022-06-21 18:33:51 -0700 |
commit | a580dd77377c87754b437efb1a02cccc1554dafd (patch) | |
tree | d2cbecc9a9617f706b69a9d16a1361ebe7a41bcb /method.h | |
parent | 87a560a0570adf51bd37f9d3da5086db3e3f27a0 (diff) |
Don't check protected method ancestry on fcall
If we are making an FCALL, we know we are calling a method on self. This
is the same check made for private method visibility, so it should also
guarantee we can call a protected method.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5643
Diffstat (limited to 'method.h')
0 files changed, 0 insertions, 0 deletions