mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_eval_string_wrap): extend new ruby_top_self, not
original self. * eval.c (rb_eval_cmd): respect ruby_wrapper if set. * eval.c (eval): do not update ruby_class unless scope is not provided. * eval.c (eval): preserve wrapper information. * eval.c (proc_invoke): ditto. * eval.c (block_pass): ditto. * parse.y (void_expr): too much warnings for void context (e.g. foo[1] that can be mere Proc call). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
61da57c571
commit
1aa936a898
5 changed files with 46 additions and 12 deletions
|
|
@ -32,8 +32,7 @@ module Open3
|
|||
|
||||
exec(*cmd)
|
||||
}
|
||||
Process.wait
|
||||
exit! $?>>8
|
||||
exit!
|
||||
}
|
||||
|
||||
pw[0].close
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue