mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
namespace on read
This commit is contained in:
parent
49742414f6
commit
382645d440
86 changed files with 5850 additions and 702 deletions
|
@ -531,7 +531,7 @@ w_extended(VALUE klass, struct dump_arg *arg, int check)
|
|||
klass = RCLASS_SUPER(klass);
|
||||
}
|
||||
while (BUILTIN_TYPE(klass) == T_ICLASS) {
|
||||
if (!FL_TEST(klass, RICLASS_IS_ORIGIN) ||
|
||||
if (!RICLASS_IS_ORIGIN_P(klass) ||
|
||||
BUILTIN_TYPE(RBASIC(klass)->klass) != T_MODULE) {
|
||||
VALUE path = rb_class_name(RBASIC(klass)->klass);
|
||||
w_byte(TYPE_EXTENDED, arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue