diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 17:03:40 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 17:03:40 +0000 |
commit | d3153f6480f7b2d3466bef9509eca4e8d9fe0835 (patch) | |
tree | 8ed0777559edacdce9e031513419993c4296562c /test | |
parent | e700687856e5c2ac9cb7181a3072ec93a37691e2 (diff) | |
download | ruby-d3153f6480f7b2d3466bef9509eca4e8d9fe0835.tar.gz |
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].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions