diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-01 07:40:45 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-01 07:40:45 +0000 |
| commit | 4c97668455e6be4bd3c44d62eaff41b7376248a4 (patch) | |
| tree | 10ca67f85eaa773bc6b6337228c46f81ba7a651b /eval.c | |
| parent | a7055a6b450b78c35897907c5f9401f969ee6844 (diff) | |
* eval.c (proc_invoke): reverted r25975. [ruby-dev:39931]
[ruby-dev:40059]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -8958,8 +8958,7 @@ proc_invoke(proc, args, self, klass) _block = *data; _block.block_obj = bvar; if (self != Qundef) _block.frame.self = self; - _block.frame.last_class = klass; - if (!klass) _block.frame.last_func = 0; + if (klass) _block.frame.last_class = klass; _block.frame.argc = RARRAY(tmp)->len; _block.frame.flags = ruby_frame->flags; if (_block.frame.argc && DMETHOD_P()) { |
