зеркало из https://github.com/github/ruby.git
* eval.c (proc_invoke): should propagate self to super
methods. [ruby-dev:19510] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
766f2adb74
Коммит
b89cbf192b
|
@ -1,3 +1,8 @@
|
|||
Fri Feb 07 15:30:15 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* eval.c (proc_invoke): should propagate self to super
|
||||
methods. [ruby-dev:19510]
|
||||
|
||||
Thu Feb 6 19:04:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* re.c (rb_reg_initialize_m): shoule not preset "kcode" unless
|
||||
|
|
1
eval.c
1
eval.c
|
@ -6619,6 +6619,7 @@ proc_invoke(proc, args, pcall, self)
|
|||
/* PUSH BLOCK from data */
|
||||
old_block = ruby_block;
|
||||
_block = *data;
|
||||
_block.frame.self = self;
|
||||
ruby_block = &_block;
|
||||
|
||||
PUSH_ITER(ITER_CUR);
|
||||
|
|
Загрузка…
Ссылка в новой задаче