зеркало из https://github.com/github/ruby.git
* eval.c (exec_under): should initialize ruby_frame->self;
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c0fe73989d
Коммит
a8c4400d1a
|
@ -1,3 +1,7 @@
|
|||
Wed Oct 31 16:59:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (exec_under): should initialize ruby_frame->self;
|
||||
|
||||
Wed Oct 31 15:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (POP_VARS): should not set DVAR_DONT_RECYCLE if _old
|
||||
|
|
1
eval.c
1
eval.c
|
@ -5098,6 +5098,7 @@ exec_under(func, under, args)
|
|||
PUSH_CLASS();
|
||||
ruby_class = under;
|
||||
PUSH_FRAME();
|
||||
ruby_frame->self = _frame.prev->self;
|
||||
ruby_frame->last_func = _frame.prev->last_func;
|
||||
ruby_frame->last_class = _frame.prev->last_class;
|
||||
ruby_frame->argc = _frame.prev->argc;
|
||||
|
|
Загрузка…
Ссылка в новой задаче