diff options
author | Jean Boussier <[email protected]> | 2023-10-30 12:29:59 +0100 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2023-10-31 12:07:54 -0400 |
commit | 4aacc559d99988f395eced3534c7a6938bd356c8 () | |
tree | a33af6b2ae7ae803053dad304687b321cdd73e93 /test/ruby/test_shapes.rb | |
parent | 85ad1025328989bb4e10436aed121b9136b0c8bf (diff) |
Handle running out of shapes in `Object#dup`
There is a handful of call sites where we may transition to OBJ_TOO_COMPLEX_SHAPE if we just ran out of shapes, but that weren't handling it properly.
-rw-r--r-- | test/ruby/test_shapes.rb | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -226,6 +226,32 @@ class TestShapes < Test::Unit::TestCase end; end def test_use_all_shapes_module assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}") begin; |