diff options
author | John Hawthorn <john@hawthorn.email> | 2022-06-16 13:28:39 -0700 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2022-06-21 18:33:51 -0700 |
commit | a580dd77377c87754b437efb1a02cccc1554dafd (patch) | |
tree | d2cbecc9a9617f706b69a9d16a1361ebe7a41bcb /inits.c | |
parent | 87a560a0570adf51bd37f9d3da5086db3e3f27a0 (diff) | |
download | ruby-a580dd77377c87754b437efb1a02cccc1554dafd.tar.gz |
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.
Diffstat (limited to 'inits.c')
0 files changed, 0 insertions, 0 deletions