summaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-19 00:58:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-19 00:58:13 +0000
commit35a8eb05a6f670c0eba85be7a3353b761e103f14 (patch)
treec966725f78c53079af7d879efe0187a18dedd990 /vm_eval.c
parent74583222f47ea3407234316c671b1de899672a96 (diff)
downloadruby-35a8eb05a6f670c0eba85be7a3353b761e103f14.tar.gz
ruby-35a8eb05a6f670c0eba85be7a3353b761e103f14.tar.xz
ruby-35a8eb05a6f670c0eba85be7a3353b761e103f14.zip
* vm_eval.c (check_funcall): reset method_missing_reason before
trying the call. based on a patch from Yehuda Katz in [ruby-core:27219]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_eval.c b/vm_eval.c
index f0b23168f..4721de7c7 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -275,6 +275,7 @@ check_funcall(VALUE recv, ID mid, int argc, VALUE *argv)
else {
struct rescue_funcall_args args;
+ th->method_missing_reason = 0;
args.recv = recv;
args.sym = ID2SYM(mid);
args.argc = argc;