summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-15 07:38:38 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-15 07:38:38 +0000
commit534ee53756b066911d0d313b44478181a97d3649 (patch)
tree6ffffb2a798a2ca7a573fad67393ce4a50e81647 /ext
parent805a4ba314850354680a9e856b1aaec3eb2ddad8 (diff)
downloadruby-534ee53756b066911d0d313b44478181a97d3649.tar.gz
ruby-534ee53756b066911d0d313b44478181a97d3649.tar.xz
ruby-534ee53756b066911d0d313b44478181a97d3649.zip
* array.c (rb_ary_fill): previous commit disabled this usage:
a = [0,1,2,3,4,5,6,7,8,9] a.fill {|i| a[i] * 10} #=> [nil, nil, ...., nil] previous commit has advantange for early garbage collection, but potensially would break some script. so I reverted behavior. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions