summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyvm.rb
diff options
context:
space:
mode:
authorLuke Gruber <luke.gruber@shopify.com>2025-08-27 09:26:57 -0400
committerAaron Patterson <aaron.patterson@gmail.com>2025-08-27 11:14:29 -0700
commit886268856ba7c70a6eaf25eeb402e6ebed9e851e (patch)
treebe8c0530cf16d90e21a6afe9d623d5084aee3097 /test/ruby/test_rubyvm.rb
parent76810fc34905011535f50c3f8bbcaf39cb80b6cc (diff)
Fix bad NameError raised using sendforward instruction through vcall
If you called a VCALL method and the method takes forwarding arguments and then you forward those arguments along using the sendforward instruction, the method_missing class was wrongly chosen as NameError instead of NoMethodError. This is because the VM looked at the CallInfo of the vcall and determined it needed to raise NameError. Now we detect that case and raise NoMethodError. Fixes [Bug #21535]
Diffstat (limited to 'test/ruby/test_rubyvm.rb')
0 files changed, 0 insertions, 0 deletions