General

Profile

Eregon (Benoit Daloze)

  • Login: Eregon
  • Registered on: 07/30/2009
  • Last sign in: 08/05/2026

Issues

open closed Total
Assigned issues 2 70 72
Reported issues 30 204 234

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Activity

08/10/2026

07:57 PM Ruby Bug #22200 (Open): ObjectSpace._id2ref can return a different object than the id's owner on Ruby 4.0 (stale id2ref_tbl entry for objects with generic fields)
Eregon (Benoit Daloze)
07:11 PM Ruby Bug #22200 (Closed): ObjectSpace._id2ref can return a different object than the id's owner on Ruby 4.0 (stale id2ref_tbl entry for objects with generic fields)
Applied in changeset commit:git|966f531e2b2e896f8f36beb8b933407d2df3e208.
----------
Fix ObjectSpace._id2ref returning wrong object for generic-field types (#18209)
Fix _id2ref returning wrong object for generic-field types [Bug #22200...
Eregon (Benoit Daloze)

08/09/2026

09:19 PM Ruby Bug #21324 (Closed): Namespace loads RubyGems in root Namespace but it should not
Fixed by #21881.
I confirmed the examples from https://bugs.ruby-lang.org/issues/21324#note-10 work now.
Eregon (Benoit Daloze)
09:35 AM Ruby Feature #21953: Allow accessing unshareable objects within a Ractor-local Ruby Box
tikkss (Tsutomu Katsube) wrote in #note-1:
> Now, we are implementing `Ractor` based parallel test runner. The tests
> ...
I think this is a clear case for separate processes.
Notably because if one process crashes then it doesn't t...
Eregon (Benoit Daloze)
09:32 AM Ruby Feature #21953: Allow accessing unshareable objects within a Ractor-local Ruby Box
@tikkss I meant to come back to this but forgot.
Could you compare with `fork`, since that's how many Ruby apps run today?
Also what if there is more allocations (not just classes) in each box/process?
I would expect the gain of B...
Eregon (Benoit Daloze)

08/08/2026

09:10 PM Ruby Feature #21795: Methods for retrieving ASTs
I have now implemented both `#syntax_tree` and `#source_range` in TruffleRuby.
It went mostly fine, and I added a number of specs for `#syntax_tree`.
I noticed one case of implementation complexity and inconsistency caused by returning...
Eregon (Benoit Daloze)
12:50 PM Ruby Bug #22235 (Rejected): node_id/location for constant assignment failing while reading
`NotDefined += 1` also doesn't have a Prism node for the reading part (`name_loc` covers it but that's not a node):
```
ruby -rprism -e 'pp Prism.parse("
NotDefined += 1
").value'
@ ProgramNode (location: (2,0)-(2,15))
├── flags: ...
Eregon (Benoit Daloze)
12:15 PM Ruby Bug #22235: node_id/location for constant assignment failing while reading
To be complete, the other two "failing while reading" cases in the spec are:
(`$` marks the beginning and end of the `source_range`)
```ruby
"index operator assignments failing while reading" => <<-RUBY,
value = nil
...
Eregon (Benoit Daloze)
11:54 AM Ruby Bug #22235: node_id/location for constant assignment failing while reading
Regarding failing while reading or writing, here is reading:
```ruby
namespace = Module.new
begin
namespace::NotDefined += 1
rescue => e
p e
pp e.backtrace_locations[0]
pp e.backtrace_locations[0].source_range
puts e.backtrace_...
Eregon (Benoit Daloze)
11:43 AM Ruby Bug #22235: node_id/location for constant assignment failing while reading
I found this via this spec: https://github.com/ruby/spec/blob/0f44fd58585fcdc652da70521ecb753f6fda80f9/core/thread/backtrace/location/source_range_spec.rb#L155-L158
It encodes the current CRuby behavior, but as described above I think t...
Eregon (Benoit Daloze)

Also available in: Atom