From ad0d4db61ebe6d12f80a6527442ac723885c7161 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 29 Nov 2009 07:56:25 +0000 Subject: * vm_eval.c (check_funcall_failed): pass ID. [ruby-core:26934] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_eval.c') diff --git a/vm_eval.c b/vm_eval.c index 18cc8361d..549b28bec 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -255,7 +255,7 @@ check_funcall_exec(struct rescue_funcall_args *args) static VALUE check_funcall_failed(struct rescue_funcall_args *args, VALUE e) { - if (rb_respond_to(args->recv, args->sym)) { + if (rb_respond_to(args->recv, SYM2ID(args->sym))) { rb_exc_raise(e); } return Qundef; -- cgit