8000 * vm_eval.c (check_funcall_failed): pass ID. [ruby-core:26934] · devrandom/ruby@261b4a1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 261b4a1

Browse files
committed
* 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
1 parent df9cfd3 commit 261b4a1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Sun Nov 29 16:56:24 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
2+
3+
* vm_eval.c (check_funcall_failed): pass ID. [ruby-core:26934]
4+
15
Sun Nov 29 06:37:53 2009 Aaron Patterson <tenderlove@ruby-lang.org>
26

37
* lib/rexml/formatters/default.rb (write_attribute): fix an

vm_eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ check_funcall_exec(struct rescue_funcall_args *args)
255255
static VALUE
256256
check_funcall_failed(struct rescue_funcall_args *args, VALUE e)
257257
{
258-
if (rb_respond_to(args->recv, args->sym)) {
258+
if (rb_respond_to(args->recv, SYM2ID(args->sym))) {
259259
rb_exc_raise(e);
260260
}
261261
return Qundef;

0 commit comments

Comments
 (0)
0