diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-21 17:46:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-21 17:46:42 +0000 |
commit | d547df4c537226112777086f52bc23f39eadb0e7 (patch) | |
tree | 8f9cdfb81716631dbd14d596997c3eae3a97bc6d | |
parent | 874eca3c042a42f7bd5de245a76f79d6ff4f5dcf (diff) | |
download | ruby-d547df4c537226112777086f52bc23f39eadb0e7.tar.gz |
* eval.c (rb_eval): splat NODE_RESTARY. [ruby-dev:20268]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,6 @@ -Thu May 22 02:42:49 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> +Thu May 22 02:46:38 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> + + * eval.c (rb_eval): splat NODE_RESTARY. [ruby-dev:20268] * eval.c (rb_thread_fd_close): raise for writing threads. [ruby-dev:20269] @@ -2739,7 +2739,7 @@ rb_eval(self, n) case NODE_RESTARY: case NODE_RESTARY2: - result = rb_ary_to_ary(rb_eval(self, node->nd_head)); + result = splat_value(rb_eval(self, node->nd_head)); break; case NODE_SPLAT: |