summaryrefslogtreecommitdiff
path: root/test/ruby/test_enum.rb
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2021-11-23 14:19:44 +0900
committernagachika <nagachika@ruby-lang.org>2021-11-23 14:52:29 +0900
commitb6f87d527f59257f07ba6774addaefdedee4fcde (patch)
tree4190f6599a6f560f4a8c9ff0a4e49fd2a7a5ba95 /test/ruby/test_enum.rb
parent32342c9fcaaf64f5d6b86ea4e041c9331fb381d3 (diff)
merge revision(s) 84202963c52e02cecad3e6b2fad478bfbeee1bc7: [Backport #18329]
[Bug #18329] Fix crash when calling non-existent super method The cme is NULL when a method does not exist, so check it before accessing the callcache. --- test/ruby/test_super.rb | 31 +++++++++++++++++++++++++++++++ vm_insnhelper.c | 3 ++- 2 files changed, 33 insertions(+), 1 deletion(-)
Diffstat (limited to 'test/ruby/test_enum.rb')
0 files changed, 0 insertions, 0 deletions