my $invoke = DX::Op::FromCode->new(
code => sub {
my ($self, $state) = @_;
- my $op = $var->bound_value;
+ my $op = $state->resolve_value($var);
$state->then($op);
}
);
- my $ret_op = DX::Op::SetScope->new(
- scope => $state->scope, next => $self->next
- );
$state->push_return_then($self->next, $invoke)->mark_choice($var);
}