mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Fix typo in variable.c
This commit is contained in:
parent
81882ca42f
commit
e010bf1674
@ -1550,7 +1550,7 @@ generic_ivar_set(VALUE obj, ID id, VALUE val)
|
||||
}
|
||||
RB_VM_LOCK_LEAVE();
|
||||
|
||||
RB_OBJ_WRITE(obj, &ivup.ivtbl->as.shape.ivptr[ivup.iv_index], val);
|
||||
RB_OBJ_WRITE(obj, &ivar_lookup.ivtbl->as.shape.ivptr[index], val);
|
||||
|
||||
if (!found) {
|
||||
rb_shape_set_shape(obj, shape);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user