diff options
author | Jeremy Evans <code@jeremyevans.net> | 2021-02-09 15:39:34 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2021-02-11 07:45:52 -0800 |
commit | 2d877327e12f499ac1a0d7096f4314cc92ef228e (patch) | |
tree | e20d0748b139036111a0d9c0c6f1cbb2606576fd /bootstraptest/test_literal.rb | |
parent | b83ad02997dfa910c08dd2d900f24468c15db264 (diff) |
Make a cyclic prepend not modify ancestors for the receiver
Check for cyclic prepend before making any changes. This requires
scanning the module ancestor chain twice, but in general modules
do not have large numbers of ancestors.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4165
Diffstat (limited to 'bootstraptest/test_literal.rb')
0 files changed, 0 insertions, 0 deletions