mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Print shape id when a flaky shapes assert fails
This has been failing intermittently during `test_marshal_with_ivar_and_id` for ZJIT and YJIT builds.4714097060
4714140911
This commit is contained in:
parent
da0de3cb87
commit
84ee71df45
1 changed files with 1 additions and 1 deletions
|
@ -1774,7 +1774,7 @@ general_ivar_set(VALUE obj, ID id, VALUE val, void *data,
|
||||||
shape_resize_fields_func(obj, RSHAPE_CAPACITY(current_shape_id), RSHAPE_CAPACITY(next_shape_id), data);
|
shape_resize_fields_func(obj, RSHAPE_CAPACITY(current_shape_id), RSHAPE_CAPACITY(next_shape_id), data);
|
||||||
}
|
}
|
||||||
|
|
||||||
RUBY_ASSERT(RSHAPE_TYPE_P(next_shape_id, SHAPE_IVAR));
|
RUBY_ASSERT(RSHAPE_TYPE_P(next_shape_id, SHAPE_IVAR), "next_shape_id: 0x%" PRIx32, next_shape_id);
|
||||||
RUBY_ASSERT(index == (RSHAPE_INDEX(next_shape_id)));
|
RUBY_ASSERT(index == (RSHAPE_INDEX(next_shape_id)));
|
||||||
set_shape_id_func(obj, next_shape_id, data);
|
set_shape_id_func(obj, next_shape_id, data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue