[ruby-cvs:67498] knu:r60317 (trunk): Avoid use of `self.class.new(self)` in Set#collect!

knu at ruby-lang.org knu at ruby-lang.org
Sun Oct 22 02:03:40 JST 2017

knu	2017-10-22 02:03:40 +0900 (Sun, 22 Oct 2017)

  New Revision: 60317


    Avoid use of `self.class.new(self)` in Set#collect!
    That prevents infinite recursion when a subclass of Set uses
    `collect!` in its constructor.
    This should fix [Bug #12437].

  Modified files:

More information about the ruby-cvs mailing list