Skip to content

Commit 2770baa

Browse files
committed
Include object_id in obj_free_object_id rb_bug
1 parent 0efa5fb commit 2770baa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ obj_free_object_id(VALUE obj)
19141914
GC_ASSERT(id);
19151915

19161916
if (!st_delete(id_to_obj_tbl, &id, NULL)) {
1917-
rb_bug("Object ID seen, but not in id_to_obj table: %s", rb_obj_info(obj));
1917+
rb_bug("Object ID seen, but not in id_to_obj table: object_id=%+"PRIsVALUE" object=%s", (VALUE)id, rb_obj_info(obj));
19181918
}
19191919
}
19201920
}

0 commit comments

Comments
 (0)