mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
The expected message bakes the receiver's `#inspect` into a heredoc before the block raises, so a moving GC that relocates the receiver in between makes the two addresses disagree. That is why these tests fail intermittently under MMTk. `GC.compact` reproduces the same failure with the default GC. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>