diff options
| author | Luke Gruber <luke.gruber@shopify.com> | 2025-08-27 09:26:57 -0400 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2025-08-27 11:14:29 -0700 |
| commit | 886268856ba7c70a6eaf25eeb402e6ebed9e851e (patch) | |
| tree | be8c0530cf16d90e21a6afe9d623d5084aee3097 /test/ruby/test_transcode.rb | |
| parent | 76810fc34905011535f50c3f8bbcaf39cb80b6cc (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_transcode.rb')
0 files changed, 0 insertions, 0 deletions
