summaryrefslogtreecommitdiff
path: root/spec/ruby/core
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2022-06-16 13:28:39 -0700
committerJohn Hawthorn <john@hawthorn.email>2022-06-21 18:33:51 -0700
commita580dd77377c87754b437efb1a02cccc1554dafd (patch)
treed2cbecc9a9617f706b69a9d16a1361ebe7a41bcb /spec/ruby/core
parent87a560a0570adf51bd37f9d3da5086db3e3f27a0 (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 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions