зеркало из https://github.com/github/ruby.git
Fix indentation in vm_setivar_default
This commit is contained in:
Родитель
8c8548b175
Коммит
0700d0fd1c
|
@ -1416,11 +1416,11 @@ vm_setivar_default(VALUE obj, ID id, VALUE val, shape_id_t dest_shape_id, attr_i
|
|||
shape_id_t source_shape_id = dest_shape->parent_id;
|
||||
|
||||
if (shape_id == source_shape_id && dest_shape->edge_name == id && dest_shape->type == SHAPE_IVAR) {
|
||||
ivtbl = rb_ensure_generic_iv_list_size(obj, index + 1);
|
||||
ivtbl = rb_ensure_generic_iv_list_size(obj, index + 1);
|
||||
#if SHAPE_IN_BASIC_FLAGS
|
||||
RBASIC_SET_SHAPE_ID(obj, dest_shape_id);
|
||||
RBASIC_SET_SHAPE_ID(obj, dest_shape_id);
|
||||
#else
|
||||
ivtbl->shape_id = dest_shape_id;
|
||||
ivtbl->shape_id = dest_shape_id;
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче