Skip to content

Commit 094fa3e

Browse files
committed
Output array shared root flag in rb_raw_obj_info_buitin_type
1 parent ef3fdb0 commit 094fa3e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

gc.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4699,9 +4699,10 @@ rb_raw_obj_info_buitin_type(char *const buff, const size_t buff_size, const VALU
46994699
rb_raw_obj_info(BUFF_ARGS, ARY_SHARED_ROOT(obj));
47004700
}
47014701
else {
4702-
APPEND_F("[%s%s] ",
4703-
C(ARY_EMBED_P(obj), "E"),
4704-
C(ARY_SHARED_P(obj), "S"));
4702+
APPEND_F("[%s%s%s] ",
4703+
C(ARY_EMBED_P(obj), "E"),
4704+
C(ARY_SHARED_P(obj), "S"),
4705+
C(ARY_SHARED_ROOT_P(obj), "R"));
47054706

47064707
if (ARY_EMBED_P(obj)) {
47074708
APPEND_F("len: %ld (embed)",

0 commit comments

Comments
 (0)