diff options
author | Peter Zhu <[email protected]> | 2024-10-15 12:55:05 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-10-15 14:34:24 -0400 |
commit | f45eb3dcb9c7d849064cb802953f37e1cf9f3996 (patch) | |
tree | 1a4d39d9c4220d30e8fbea57d097a44dd2f8eebb /lib/rdoc/generator | |
parent | 644153bfa8255903d0c0b7b3013bda3b33f6c706 (diff) |
Use GC.respond_to?(:compact) in bootstraptest/test_yjit.rb
defined?(GC.compact) will always return true even when compaction is not
supported. We should use GC.respond_to?(:compact) instead.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11898
Diffstat (limited to 'lib/rdoc/generator')
0 files changed, 0 insertions, 0 deletions