diff options
author | Jeremy Evans <code@jeremyevans.net> | 2022-01-14 11:21:41 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2022-01-14 13:46:18 -0800 |
commit | 58dc8bf8f15df9a33d191074e8a5d4946a3d59d5 (patch) | |
tree | 81fa15da309d5d1acbcb4ea06bc2620ab8ccd878 /hash.c | |
parent | a93cc3e23b4044762e80820fc7a45606587e11db (diff) | |
download | ruby-58dc8bf8f15df9a33d191074e8a5d4946a3d59d5.tar.gz |
Fix {Method,UnboundMethod}#{public?,private?,protected?} for ZSUPER methods
Add a visibility member to struct METHOD storing the original
method visibility, and use that, instead of taking the visibility
from the stored method entry (which may have different visibility
for ZSUPER methods).
Consider Method/UnboundMethod objects different if they have
different visibilities.
Fixes [Bug #18435]
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions