mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_eval.c (eval_string_with_cref): fix to check local_table_size.
[ruby-dev:39205] [Bug #2024] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
907680b52b
commit
d2d0d733c1
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Sep 1 19:56:28 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_eval.c (eval_string_with_cref): fix to check local_table_size.
|
||||
[ruby-dev:39205] [Bug #2024]
|
||||
|
||||
Mon Aug 31 16:20:41 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* class.c (make_singleton_class): variable name changed.
|
||||
|
|
|
@ -833,7 +833,7 @@ eval_string_with_cref(VALUE self, VALUE src, VALUE scope, NODE *cref, const char
|
|||
|
||||
/* save new env */
|
||||
GetISeqPtr(iseqval, iseq);
|
||||
if (bind && iseq->local_size > 0) {
|
||||
if (bind && iseq->local_table_size > 0) {
|
||||
bind->env = rb_vm_make_env_object(th, th->cfp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue