10000 Fix root_with_obj_id->edge_name · ruby/ruby@72df38b · GitHub
[go: up one dir, main page]

Skip to content

Commit 72df38b

Browse files
committed
Fix root_with_obj_id->edge_name
1 parent ea6ca09 commit 72df38b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shape.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,6 +1479,7 @@ Init_default_shapes(void)
14791479

14801480
rb_shape_t *root_with_obj_id = rb_shape_alloc_with_parent_id(0, ROOT_SHAPE_ID);
14811481
root_with_obj_id->type = SHAPE_OBJ_ID;
1482+
root_with_obj_id->edge_name = ruby_internal_object_id;
14821483
root_with_obj_id->next_field_index++;
14831484
root_with_obj_id->heap_index = 0;
14841485
RUBY_ASSERT(raw_shape_id(root_with_obj_id) == ROOT_SHAPE_WITH_OBJ_ID);

0 commit comments

Comments
 (0)
0