summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/include_spec.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2022-02-06 13:48:09 -0800
committerJohn Hawthorn <john@hawthorn.email>2022-05-27 13:38:40 -0700
commitfc184ca1f789ce6a89e83b9247b6bd172af7c659 (patch)
tree0ba0054dec1a76964b74f92efbd1d6c038f983aa /spec/ruby/core/array/include_spec.rb
parent8b4d2a50148b9944dd2d1d2d6ebe7b09874ddfdd (diff)
Only check class ancestors for ivar in memory_view
rb_class_get_superclass returns the immediate SUPER, including T_ICLASS. rb_ivar_lookup isn't implemented for T_ICLASS so it uses the default behaviour, which always returns Qnil. This commit avoids checking T_ICLASS for ivars.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5663
Diffstat (limited to 'spec/ruby/core/array/include_spec.rb')
0 files changed, 0 insertions, 0 deletions