diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-15 07:06:00 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-15 07:06:00 +0000 |
commit | 518851f88d2bf0a66b829f8f05373f8ac8d1fdc4 (patch) | |
tree | 4a83f24ae6fc06a55c04332ccf7163ebea1aa5a6 /ChangeLog | |
parent | 8950f856030ff9ed33ad7126d190a3f115c9eba8 (diff) |
* array.c (rb_ary_fill): tail elements were vanished when the middle
part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1])
* test/ruby/test_array.rb (test_fill): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Tue Nov 15 16:04:10 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * array.c (rb_ary_fill): tail elements were vanished when the middle + part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1]) + + * test/ruby/test_array.rb (test_fill): added. + Tue Nov 15 14:39:16 2005 Yukihiro Matsumoto <matz@ruby-lang.org> * array.c (rb_ary_fill): should adjust array length correctly when |