diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-06-04 19:08:54 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-06 14:20:22 -0700 |
commit | 258843106f343d05732499dd1832958eb1bf64f0 (patch) | |
tree | 4ae475029914be00a7dceae93ca57fec753071b2 /dmyenc.c | |
parent | 2d076dd5ac8fc1102939f04236878446348599d0 (diff) | |
download | ruby-258843106f343d05732499dd1832958eb1bf64f0.tar.gz |
Fix SortedSet subclasses that override initialize
The first time SortedSet#initialize is called, it overwrites
itself, then recalls #initialize, which results in calling the
subclass's initialize, not the current initialize.
Just inline the default initialize behavior to avoid this issue.
No test for this as it can only be triggered the very first time
that SortedSet#initialize is called.
Fixes [Bug #15830]
Diffstat (limited to 'dmyenc.c')
0 files changed, 0 insertions, 0 deletions