Skip to content

Commit

Permalink
Make signature destructuring with a Junction an error
Browse files Browse the repository at this point in the history
Instead of infinilooping.  Fixes #3027, sorry for the delay in
applying jnthn's suggested fix.
  • Loading branch information
lizmat committed Jun 17, 2021
1 parent cd4a72b commit 15d372e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/bootstrap.c/BOOTSTRAP.nqp
Expand Up @@ -604,7 +604,7 @@ my class Binder {
$error[0] := $error[0] ~ " of parameter " ~ $varname;
}
}
return $result;
return $BIND_RESULT_FAIL;
}
}

Expand Down

0 comments on commit 15d372e

Please sign in to comment.