Project

General

Profile

« Previous | Next » 

Revision fb29a4dc

Added by ko1 (Koichi Sasada) over 6 years ago

should not copy promoted flags.

  • include/ruby/ruby.h (rb_clone_setup): should not copy some flags
    (FL_PROMOTED0|FL_PROMOTED1|FL_FINALIZE).
    [Bug #13775]

  • test/ruby/test_object.rb: add a test (note that this test will fail
    only when RGENGC_CHECK_MODE >= 2).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e