* [Bug #22058] {Method,InstanceMethod}#super_method doesn't work correctly for refined method with refinements for method active in the caller's scope (jeremyevans0) * I found semantic issues with #super_method for refined methods. *...jeremyevans0 (Jeremy Evans)
I've found that Method#super_method and InstanceMethod#super_method do not work correctly in some cases for refined methods. At the least, there is a definite bug, which is that #super_method inside a scope with a refinement activated f...jeremyevans0 (Jeremy Evans)
I've found many problems with refinement zsuper methods. Here's one example: ```ruby module M private def a = :a alias a a end class A include M end class B < A end module R refine B do public :a end ...jeremyevans0 (Jeremy Evans)
This was discussed again at the RubyKaigi developer meeting, but it was not accepted. However, the discussion during the meeting was helpful, as it turns out you can emulate this feature by using `autoload :Constant, "file/that/raises/ex...jeremyevans0 (Jeremy Evans)
* [Feature #21871] Add Module#undef_const (jeremyevans0) * This was discussed at the February dev meeting, but the Redmine ticket didn't do a good job of explaining why I want this. * I would like to pitch for this in person and be...jeremyevans0 (Jeremy Evans)
I'm seeing a regression in Ruby 4.0.2 when there is a gem activation problem. Install two versions of a gem, where one version has a file the other doesn't. One example here is rack: ``` $ gem install rack --version '< 3' $ gem i...jeremyevans0 (Jeremy Evans)
Eregon (Benoit Daloze) wrote in #note-8: > jeremyevans0 (Jeremy Evans) wrote in #note-5: > ... Sure: https://github.com/ruby/ruby/pull/16133jeremyevans0 (Jeremy Evans)
* [Feature #21871] Add Module#undef_const (jeremyevans0) * I'd like to add this method, which offers for constants the same behavior that `undef_method` offers for methods. * This allows hiding specific constants inside a namespace...jeremyevans0 (Jeremy Evans)
I propose to add `Module#undef_const`, which would operate for constants similarly to how `undef_method` (and the `undef` keyword) works for methods. When an undefed constant is found during constant lookup, lookup stops, and results in ...jeremyevans0 (Jeremy Evans)
Eregon (Benoit Daloze) wrote in #note-4: > Interestingly enough I noticed I believe the same (or very similar) segfault yesterday when [trying to test the behavior](https://github.com/truffleruby/truffleruby/pull/4151#discussion_r277102...jeremyevans0 (Jeremy Evans)