truffleruby icon indicating copy to clipboard operation
truffleruby copied to clipboard

ObjectSpace.each_object(Module) should visit singleton classes

Open eregon opened this issue 2 years ago • 0 comments

Maybe it changed in CRuby, in any case latest CRuby includes them. In TruffleRuby it doesn't include them since b3bfc9d388331bfbdf5ea3f238317ecc316ed7a7.

We still need to hide singleton classes which don't have their own singleton class yet, i.e., RubyClass instances for which .getMetaClass().isSingleton is false.

eregon avatar Jan 10 '23 16:01 eregon