diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-03 14:56:54 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-03 14:56:54 +0000 |
| commit | 4094f5ea2408e548906458ee9fd3ceac7f9a28ed (patch) | |
| tree | e27a5fa2c586fa8f93384f54a0169b3ab545bdc3 /eval.c | |
| parent | 12642232b212cf5e28d09c92288054f32d962e42 (diff) | |
| download | ruby-4094f5ea2408e548906458ee9fd3ceac7f9a28ed.tar.gz ruby-4094f5ea2408e548906458ee9fd3ceac7f9a28ed.tar.xz ruby-4094f5ea2408e548906458ee9fd3ceac7f9a28ed.zip | |
* eval.c (rb_call_super): should propagate previous block for
super call. [ruby-talk:77884]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5240,7 +5240,7 @@ rb_call_super(argc, argv) klass = k; } - PUSH_ITER(rb_block_given_p()?ITER_PRE:ITER_NOT); + PUSH_ITER(ruby_iter->iter || rb_block_given_p() ? ITER_PRE : ITER_NOT); result = rb_call(RCLASS(klass)->super, self, ruby_frame->orig_func, argc, argv, 3); POP_ITER(); |
