summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2020-02-03 12:29:37 +0100
committerJeremy Evans <code@jeremyevans.net>2020-02-03 08:16:22 -0800
commitf2552216d43040cd42bbb9fd484eab6c70856fe6 (patch)
tree417634fff2c49a9e2cf6f68733053ac103b735be /bootstraptest
parent11963da9e8e98821860fbb0c0f2adc118860c814 (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')
0 files changed, 0 insertions, 0 deletions