Code review comment for ~lucaskanashiro/ubuntu/+source/ruby2.7:fix-hash-iteration

Revision history for this message
Bryce Harrington (bryce) wrote :

It took a few rebuilds but the packages are all successfully built in the PPA, and after installing the PPA to the test lxc container and upgrading, the test case passes:

root@ruby27-hash-iteration:~# cat bug.rb
h = {a:1, b:2, c:3, d:4, e:5, f:6, g:7, h:8}
h.each{|k,v| GC.start; h.delete(k)}
root@ruby27-hash-iteration:~# ruby bug.rb
root@ruby27-hash-iteration:~# echo $?

It'd be nice to have bug.rb print something to positively indicate success, but the exit code is good enough.

review: Approve

« Back to merge proposal