diff --git a/lib/natalie/compiler/instructions/push_args_instruction.rb b/lib/natalie/compiler/instructions/push_args_instruction.rb index d6e202fd7..fb5863a1c 100644 --- a/lib/natalie/compiler/instructions/push_args_instruction.rb +++ b/lib/natalie/compiler/instructions/push_args_instruction.rb @@ -19,7 +19,6 @@ def to_s end def generate(transform) - args = transform.temp('args') if @for_block transform.exec_and_push(:args, "args.to_array_for_block(env, #{@min_count}, #{@max_count || -1}, #{@spread ? 'true' : 'false'})") elsif @to_array