Project

General

Profile

« Previous | Next » 

Revision fc184ca1

Added by jhawthorn (John Hawthorn) over 3 years ago

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.