diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-02 04:44:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-11-02 04:44:52 +0000 |
commit | 07c4bb10e093f1d296c92492d7340fec090b7bf3 (patch) | |
tree | 6ac1a3d9389f8ca7acda2fcc0114edbc02895b7d /eval.c | |
parent | 030204ccf377c510fc6c08b8b86f72b1db5b017c (diff) | |
download | ruby-07c4bb10e093f1d296c92492d7340fec090b7bf3.tar.gz |
* eval.c (rb_call0): fixed bug of zsuper with both of opt and rest.
fixed: [ruby-list:42928]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5665,6 +5665,10 @@ formal_assign(VALUE recv, NODE *node, int argc, const VALUE *argv, VALUE *local_ } if (opt) { rb_eval(recv, opt); + while (opt) { + ++i; + opt = opt->nd_next; + } } argc = ac + npost; } |