1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
nobu 2003-02-07 06:30:18 +00:00
parent 766f2adb74
commit b89cbf192b
2 changed files with 6 additions and 0 deletions

View file

@ -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
View file

@ -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);