Fix typo in error message for shape_id verification

This commit is contained in:
ydah 2025-06-15 21:12:07 +09:00 committed by Yudai Takada
parent 251cfdfe22
commit 2d96400c26
Notes: git 2025-06-15 13:36:02 +00:00

View file

@ -1262,7 +1262,7 @@ rb_shape_verify_consistency(VALUE obj, shape_id_t shape_id)
}
else {
if (flags_heap_index) {
rb_bug("shape_id indicate heap_index > 0 but objet is not T_OBJECT: %s", rb_obj_info(obj));
rb_bug("shape_id indicate heap_index > 0 but object is not T_OBJECT: %s", rb_obj_info(obj));
}
}