General

Profile

Eregon (Benoit Daloze)

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

Issues

open closed Total
Assigned issues 2 66 68
Reported issues 32 198 230

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Activity

05/07/2026

11:30 PM Ruby Revision 9f477803 (git): Update to ruby/spec@680fc69
Eregon (Benoit Daloze)
11:30 PM Ruby Revision 72d032e1 (git): Update to ruby/mspec@dffcdf7
Eregon (Benoit Daloze)

05/06/2026

08:10 PM Ruby Feature #22056: Add zero-copy String constructor backed by an arbitrary Ruby object
himura467 (Akito Shitara) wrote:
> This relies on undocumented GC behavior, incurs ivar table allocation overhead, and leaves lifetime management entirely to the caller.
What do you mean by "undocumented GC behavior"?
Isn't it only ...
Eregon (Benoit Daloze)

05/05/2026

08:03 PM Ruby Bug #22021: Array#delete_if may delete wrong object if array has been altered already
The only way to iterate an Array is to use an index from 0 to size, so it's always going to be based on index.
chucke (Tiago Cardoso) wrote in #note-4:
> I don't see why the element ref can't be kept for post-comparison
What if yo...
Eregon (Benoit Daloze)

05/04/2026

09:08 PM Ruby Bug #22020: Inner call node without all arguments returned by RubyVM::AbstractSyntaxTree.of for call with a block
My motivation here is I would like to implement `Thread::Bactrace::Location#source_range`.
For this to work in `--parser=parse.y` mode it needs to return the same start/end line/column as Prism in all cases of `RubyVM::AbstractSyntaxTre...
Eregon (Benoit Daloze)
09:02 PM Ruby Bug #22020: Inner call node without all arguments returned by RubyVM::AbstractSyntaxTree.of for call with a block
The current locations are like this:
```
foo(1, 2, kw: :arg) { 123 }
|---------ITER------------|
|------FCALL------| |SCOPE|
```
When `foo` does not exist, it's a `NoMethodError`, and `RubyVM::AbstractSyntaxTree.of e.backtrace_locations...
Eregon (Benoit Daloze)
08:19 PM Ruby Bug #22021 (Rejected): Array#delete_if may delete wrong object if array has been altered already
I think this is safe to reject, I think it's not feasible to change this.
One should avoid mutating the Array while iterating, otherwise this kind of behavior is expected.
Eregon (Benoit Daloze)
08:16 PM Ruby Bug #22021: Array#delete_if may delete wrong object if array has been altered already
IMO it's not reasonable for `Array#delete_if` to do anything else than what it already does.
How can `Array#delete_if` know which element you deleted and whether it should delete or not?
The block returns true for the second 2nd block ca...
Eregon (Benoit Daloze)
03:15 PM Ruby Revision b583dd68 (git): Fix typo and improve docs of Exception#exception
Eregon (Benoit Daloze)

05/03/2026

08:08 PM Ruby Bug #22020 (Open): Inner call node without all arguments returned by RubyVM::AbstractSyntaxTree.of for call with a block
```ruby
begin
foo(1, 2, kw: :arg) { 42 }
rescue => e
pp RubyVM::AbstractSyntaxTree.of e.backtrace_locations[0]
end
```
```
$ ruby --parser=parse.y rubyvm_ast_node_id_loc.rb
(FCALL@2:2-2:21 :foo
(LIST@2:6-2:20 (INTEGER@...
Eregon (Benoit Daloze)

Also available in: Atom