Skip to content

Commit bb5ed8b

Browse files
committed
[PRISM] Fix flags on local variable operator write nodes
1 parent f2369de commit bb5ed8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: prism_compile.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -6381,8 +6381,7 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret,
63816381
PM_COMPILE_NOT_POPPED(cast->value);
63826382

63836383
ID method_id = pm_constant_id_lookup(scope_node, cast->operator);
6384-
int flags = VM_CALL_ARGS_SIMPLE | VM_CALL_FCALL | VM_CALL_VCALL;
6385-
PUSH_SEND_WITH_FLAG(ret, location, method_id, INT2NUM(1), INT2FIX(flags));
6384+
PUSH_SEND_WITH_FLAG(ret, location, method_id, INT2NUM(1), INT2FIX(VM_CALL_ARGS_SIMPLE));
63866385

63876386
if (!popped) PUSH_INSN(ret, location, dup);
63886387
PUSH_SETLOCAL(ret, location, local_index.index, local_index.level);

0 commit comments

Comments
 (0)