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

* vm.c (rb_call_super): pass a passed block when super is called via

rb_call_super.  [ruby-dev:33598]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2008-02-05 12:58:50 +00:00
parent f0cc22e990
commit 03a4a0f1d2
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Feb 05 21:57:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
* vm.c (rb_call_super): pass a passed block when super is called via
rb_call_super. [ruby-dev:33598]
Tue Feb 5 11:14:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (INSTALL_DIRS, install_dirs): added BINDIR.

1
vm.c
View file

@ -536,6 +536,7 @@ vm_call_super(rb_thread_t *th, int argc, const VALUE *argv)
VALUE
rb_call_super(int argc, const VALUE *argv)
{
PASS_PASSED_BLOCK();
return vm_call_super(GET_THREAD(), argc, argv);
}