General

Profile

jeremyevans0 (Jeremy Evans)

Issues

open closed Total
Assigned issues 3 44 47
Reported issues 4 151 155

Projects

Project Roles Registered on
Ruby Committer 04/14/2016

Activity

09/18/2026

06:18 AM Ruby Feature #22309: Allow super in a module method to work if method was called by refinement method super
@shugo Thank you for the recommendation for implementing this correctly. I used the approach you recommended, and it ended up being much simpler than I expected, even if there were a couple tricky parts. One of those was how to store the... jeremyevans0 (Jeremy Evans)
01:35 AM Ruby Bug #22273 (Open): Aliasing doesn't interact well with Module#prepend
Reopening, since this should stay open until removal occurs. jeremyevans0 (Jeremy Evans)

09/17/2026

12:51 AM Ruby Bug #22174: Set operations (&, ^, collect!, flatten, classify, divide) do not preserve compare_by_identity
OK. I submitted https://github.com/ruby/ruby/pull/18848 to fix this in master (same as https://github.com/ruby/ruby/pull/17633 but squashed and with fixed specs). It leaves Ruby 4.0 behavior unspecified. After it is merged, I'll submit ... jeremyevans0 (Jeremy Evans)

09/15/2026

05:09 AM Ruby Bug #22174: Set operations (&, ^, collect!, flatten, classify, divide) do not preserve compare_by_identity
From my testing with the example given, Set has returned `false` for all of these operations since `Set#compare_by_identity` was added in Ruby 2.4:
```
$ ruby24 -v t.rb
ruby 2.4.9p362 (2019-10-02 revision 67824) [x86_64-openbsd]
In...
jeremyevans0 (Jeremy Evans)

09/14/2026

01:54 PM Ruby Feature #22309: Allow super in a module method to work if method was called by refinement method super
shugo (Shugo Maeda) wrote in #note-3:
> jeremyevans0 (Jeremy Evans) wrote in #note-2:
> ...
Good point. That does make the stack walking approach unworkable. So I'll work on implementing the lazily created refinement iclass approach in...
jeremyevans0 (Jeremy Evans)
04:02 AM Ruby Feature #22309: Allow super in a module method to work if method was called by refinement method super
shugo (Shugo Maeda) wrote in #note-1:
> Thank you for working on this. I checked out the PR branch and tested it.
> ...
Thank you for the review. I think a possible solution to the incorrect behavior in the example you gave would be a ...
jeremyevans0 (Jeremy Evans)

09/13/2026

08:59 PM Ruby Bug #22273: Aliasing doesn't interact well with Module#prepend
I submitted a pull request to add the initial deprecation warning: https://github.com/ruby/ruby/pull/18807
I think it makes sense to use the same schedule as #22276:
4.1: Verbose-mode deprecation warning
4.2: Non-verbose-mode depr...
jeremyevans0 (Jeremy Evans)
03:22 AM Ruby Feature #22309 (Open): Allow super in a module method to work if method was called by refinement method super
Ruby started allowing refinements of modules in 2.4. However, there was one limitation, which is that while the refinement method could call `super` to call the module method, the module method could not call `super`, because it did not ... jeremyevans0 (Jeremy Evans)

09/10/2026

03:52 PM Ruby Feature #22266 (Rejected): Stop warning for duplicate keywords in splatted literal hashes
This was submitted in response to #22264, a bug report about parse.y's warnings for splatted literal hashes being different than prism's. As I mentioned, I believe no Ruby programmer would deliberately write a splatted literal hash, so t... jeremyevans0 (Jeremy Evans)

09/09/2026

05:06 PM Ruby Bug #22273: Aliasing doesn't interact well with Module#prepend
Eregon (Benoit Daloze) wrote in #note-6:
> What if one actually wants to alias a method from a prepended module, how should they do it?
> ...
Actually, it doesn't, for the example I gave above:
```ruby
module M
def m = [M, :m, *...
jeremyevans0 (Jeremy Evans)

Also available in: Atom