The `offset` keyword argument was added in Ruby 4.1 by 99f92c4874ddd08a50f74eb37e6a51f0194c9c76 ([Feature #17056]), so these specs raised ArgumentError on older versions and failed the "Rubyspec Version Guards Check" workflow. Co-Author...Eregon (Benoit Daloze)
## Summary `Kernel#freeze` can be called on a Ractor object owned by another Ractor, and succeeds: ```ruby Ractor.new { Ractor.main.freeze }.value Ractor.main.frozen? # => true ``` This is a write to another Ractor's object, ...Eregon (Benoit Daloze)
> matz: except classes and modules, I agree. Traverse every other reference, including instance variables, array elements, and hash keys and values. Please update the PR. Done, I updated https://github.com/ruby/ruby/pull/19529 to trav...Eregon (Benoit Daloze)
This was discussed at the last dev meeting: https://github.com/ruby/dev-meeting-log/blob/master/2026/DevMeeting-2026-11-12.md#feature-21962-add-deep_freeze-for-recursive-freezing-eregon I'm confused because IIRC twice matz agreed to t...Eregon (Benoit Daloze)
To clarify, this isn't fixed because the merged PR https://github.com/ruby/ruby/pull/18209 was reverted in https://github.com/ruby/ruby/pull/18226. I'll close this as Rejected since there is no agreement how to fix this and at this po...Eregon (Benoit Daloze)
Applied in changeset commit:git|16ee033bece10f1d94b75a18d31f2d5c18c36d8a. ---------- [Feature #22520] Return the block node from #syntax_tree for a block Proc#syntax_tree, Method#syntax_tree and UnboundMethod#syntax_tree now return the...Eregon (Benoit Daloze)
Proc#syntax_tree, Method#syntax_tree and UnboundMethod#syntax_tree now return the BlockNode (or the SCOPE node with parse.y) for a proc or method defined by a block, instead of the call that the block is passed to. The call is not part o...Eregon (Benoit Daloze)
Such a proc is an ifunc block wrapping the method, so vm_proc_iseq() returned NULL and RubyVM::InstructionSequence.of returned nil for it, and so did Proc#syntax_tree, while Proc#source_range, Proc#source_location and Proc#parameters alr...Eregon (Benoit Daloze)