diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2020-02-03 12:29:37 +0100 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2020-02-03 08:16:22 -0800 |
commit | f2552216d43040cd42bbb9fd484eab6c70856fe6 (patch) | |
tree | 417634fff2c49a9e2cf6f68733053ac103b735be /bootstraptest/test_io.rb | |
parent | 11963da9e8e98821860fbb0c0f2adc118860c814 (diff) |
Fix SimpleDelegator respond_to? regression
In 2.6, SimpleDelegator would always use the target `respond_to?`
In 2.7.0 it doesn't if the target does not inherit from Object.
This breaks compatibility for delegated objects that inherit
from BasicObject and redefine `respond_to?`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2875
Diffstat (limited to 'bootstraptest/test_io.rb')
0 files changed, 0 insertions, 0 deletions