mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 09:04:05 +02:00
merge revision(s) 51427: [Backport #10969]
* vm_eval.c (send_internal): set method_missing_reason before invoking overriding method_missing method so that the default method_missing can achieve it properly. [ruby-core:68515] [Bug #10969] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a6eea9be6e
commit
40e0921a17
4 changed files with 16 additions and 1 deletions
|
@ -926,6 +926,7 @@ send_internal(int argc, const VALUE *argv, VALUE recv, call_type scope)
|
|||
}
|
||||
}
|
||||
id = idMethodMissing;
|
||||
th->method_missing_reason = 0;
|
||||
}
|
||||
else {
|
||||
argv++; argc--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue