Peter Zhu 7a18459c69 Fix RUBY_TYPED_FROZEN_SHAREABLE_NO_REC
An UnboundMethod does not refer to any mutable children, so it should be
shareable when frozen. The documentation for RUBY_TYPED_FROZEN_SHAREABLE_NO_REC
states:

    Similar to RUBY_TYPED_FROZEN_SHAREABLE, but doesn't make shareable
    reachable objects from this T_DATA object on the Ractor.make_shareable.

Therefore, Ractor.shareable?(BasicObject.instance_method(:equal?).freeze)
should return true since it doesn't refer to any shareable children. However,
it doesn't do that right now so frozen UnboundMethod cannot be shared
between Ractors.
2026-08-01 20:23:16 -04:00
..
2026-07-29 11:03:30 -04:00
2026-08-01 18:20:26 +00:00