We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3f2f7b commit 8992689Copy full SHA for 8992689
1 file changed
variable.c
@@ -1838,7 +1838,8 @@ generic_ivar_set_shape_fields(VALUE obj, void *data)
1838
RUBY_ASSERT(RSHAPE_TYPE_P(fields_lookup->shape_id, SHAPE_IVAR) || RSHAPE_TYPE_P(fields_lookup->shape_id, SHAPE_OBJ_ID));
1839
RUBY_ASSERT(old_capa < new_capa);
1840
RUBY_ASSERT(fields_tbl);
1841
- } else {
+ }
1842
+ else {
1843
RUBY_ASSERT(!fields_tbl);
1844
RUBY_ASSERT(old_capa == 0);
1845
}
0 commit comments