die "key unbound" unless $key->is_bound;
die "thing bound" if $thing->is_bound;
if (my $value = $set->{$key->bound_value}) {
- return $state->bind_var_then($thing, $value, $self->next);
+ return $state->bind_value($thing, $value)->then($self->next);
}
return $state->backtrack;
}