if ($new_hyp) {
return $self->but(
current_hypothesis => $new_hyp,
- ($alt_step
- ? (alternatives => [
- [ $hyp, $alt_step ],
- @alt
- ])
- : ()),
+ alternatives => [
+ ($alt_step
+ ? [ $hyp, $alt_step ]
+ : ()),
+ @alt
+ ],
resume_step => undef,
);
}