summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-11-03 11:04:25 -0400
committerPeter Zhu <[email protected]>2023-11-03 11:04:25 -0400
commite010bf167478d3f62ee37aa8e0fc15e474e957ba ()
treeef91af60df661fbab8c249e81764d10d6856eeeb /variable.c
parent81882ca42f2996c8d273f63270e06d7de09b2bd3 (diff)
Fix typo in variable.c
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
@@ -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);
if (!found) {
rb_shape_set_shape(obj, shape);