summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-02 02:01:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-02 02:01:25 +0000
commited506c07d1936659fdc85c5b976e6d5606b7923a (patch)
treeefea49832723dc2fe597b9dc19439bd67bc27c44 /eval.c
parent4d676cf76f2ea4d19486593a9bf542f1450ad517 (diff)
* eval.c (bmcall): arguments should be an array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index b451a91251..9030b70418 100644
--- a/eval.c
+++ b/eval.c
@@ -7127,6 +7127,7 @@ static VALUE
bmcall(args, method)
VALUE args, method;
{
+ args = mrhs_to_avalue(args);
return method_call(RARRAY(args)->len, RARRAY(args)->ptr, method);
}