summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-07 08:56:51 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-07 08:56:51 +0000
commita89ac45548573342400a563b407f13a8d5b06841 (patch)
tree2b244f208bfbd37ea32124a6547d88cee8f62c6e
parent6d481a4ae440532dcf674adf910c5cfa802f4679 (diff)
* 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--ChangeLog4
-rw-r--r--eval.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4798090..358e27b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/eval.c b/eval.c
index 270ebc0..2a25dac 100644
--- a/eval.c
+++ b/eval.c
@@ -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));