diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-07 08:56:51 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-07 08:56:51 +0000 |
commit | a89ac45548573342400a563b407f13a8d5b06841 (patch) | |
tree | 2b244f208bfbd37ea32124a6547d88cee8f62c6e | |
parent | 6d481a4ae440532dcf674adf910c5cfa802f4679 (diff) | |
download | ruby-a89ac45548573342400a563b407f13a8d5b06841.tar.gz |
* eval.c (svalue_to_avalue): should return converted array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Jan 7 17:56:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org> + + * eval.c (svalue_to_avalue): should return converted array. + Tue Jan 7 07:48:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> * eval.c (rb_f_local_variables): skip $_, $~ and flip states in @@ -2192,7 +2192,7 @@ svalue_to_avalue(v) if (RARRAY(tmp)->len <= 1) { return rb_ary_new3(1, tmp); } - return v; + return tmp; } static void return_check _((void)); |