diff options
author | Aaron Patterson <[email protected]> | 2022-10-15 09:37:44 -0700 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2022-10-15 10:44:10 -0700 |
commit | f0654b1027d2f24cbb6e3cfb0c5946b70f06739b (patch) | |
tree | e49476db3318c77362e7ad21433df7832f0ede95 /test/coverage/test_coverage.rb | |
parent | 8d20632df849833d8a98f3d6f5e61f32eefa0fa6 (diff) |
More precisely iterate over Object instance variables
Shapes provides us with an (almost) exact count of instance variables.
We only need to check for Qundef when an IV has been "undefined"
Prefer to use ROBJECT_IV_COUNT when iterating IVs
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6555
Diffstat (limited to 'test/coverage/test_coverage.rb')
0 files changed, 0 insertions, 0 deletions