mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_eval.c (check_funcall_failed): pass ID. [ruby-core:26934]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c230a0da7d
commit
dd7264ac69
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Nov 29 16:56:24 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm_eval.c (check_funcall_failed): pass ID. [ruby-core:26934]
|
||||
|
||||
Sun Nov 29 06:37:53 2009 Aaron Patterson <tenderlove@ruby-lang.org>
|
||||
|
||||
* lib/rexml/formatters/default.rb (write_attribute): fix an
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue