* This is more accurate than using the line and is a portable API between Ruby implementations. * I also tried to use #syntax_tree but that fails 2 tests as it returns the CallNode instead of BlockNode for blocks. Additionally, #syntax...Eregon (Benoit Daloze)
## Summary With `RUBY_BOX=1` and `RUBY_FREE_AT_EXIT=1`, Ruby crashes or hangs while freeing boxes at VM shutdown. No user box needs to be created: the built-in boxes are enough. `box_entry_free()` walks `box->classext_cow_classes`...Eregon (Benoit Daloze)
ioquatix (Samuel Williams) wrote in #note-6: > Implemented in [https://github.com/ruby/ruby/pull/18911](https://github.com/ruby/ruby/pull/18911) Great, this will make semantics match more closely and ensure reliable behavior. ioquatix ...Eregon (Benoit Daloze)
Cover constant &&=, constant path writes and operator assignments failing on the namespace, bare constant operator assignments failing in the operator or on the value, instance and class variable operator assignments, index and attribute...Eregon (Benoit Daloze)
For `Const += value`, parse.y builds a NODE_CDECL whose value is an OPCALL on a NODE_CONST read node, and that read node only spanned the constant name. The NameError for an undefined constant is raised by that read, so Thread::Backtrace...Eregon (Benoit Daloze)
(apologies for the reply partly written by AI, the base argument is mine, and I found a problematic case with raw addresses for slices) Right, that "every buffer is a slice of an underlying allocation" model is exactly the right frami...Eregon (Benoit Daloze)
Applied in changeset commit:git|8040d0659931d7230cad458429030492add43faf. ---------- [Bug #22302] Emit a line event for a method's implicit nil return in parse.y reduce_nodes eliminated a bare `nil` in a method's tail (value) position ...Eregon (Benoit Daloze)