summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));