We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e7178f commit 54b2f95Copy full SHA for 54b2f95
1 file changed
variable.c
@@ -2306,7 +2306,7 @@ rb_copy_generic_ivar(VALUE dest, VALUE obj)
2306
2307
if (rb_shape_too_complex_p(src_shape)) {
2308
// obj is TOO_COMPLEX so we can copy its iv_hash
2309
- st_table *table = st_copy(ROBJECT_FIELDS_HASH(obj));
+ st_table *table = st_copy(obj_fields_tbl->as.complex.table);
2310
if (rb_shape_has_object_id(src_shape)) {
2311
st_data_t id = (st_data_t)internal_object_id;
2312
st_delete(table, &id, NULL);
0 commit comments