New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing *error getting set to itself, which must be an error #2038
Comments
From @petdanceFrom fe669b447b49aea2500f8ca29f7e20832d86684f Mon Sep 17 00:00:00 2001 src/binder/bind.c | 2 +- Inline Patchdiff --git a/src/binder/bind.c b/src/binder/bind.c
index d64c237..18a8f80 100644
--- a/src/binder/bind.c
+++ b/src/binder/bind.c
@@ -767,7 +767,7 @@ Rakudo_binding_bind_llsig(PARROT_INTERP, PMC *lexpad, PMC *llsig,
if (cur_pos_arg < num_pos_args && !suppress_arity_fail) {
/* Oh noes, too many positionals passed. */
if (error)
- *error = *error = Rakudo_binding_arity_fail(interp, elements, num_elements, num_pos_args, 1);
+ *error = Rakudo_binding_arity_fail(interp, elements, num_elements, num_pos_args, 1);
return BIND_RESULT_FAIL;
}
if (!PMC_IS_NULL(named_args_copy) && VTABLE_elements(interp, named_args_copy)) {
--
1.7.1 |
@coke - Status changed from 'new' to 'open' |
From @cokeOn Sun Aug 08 22:14:02 2010, petdance wrote:
Thanks, applied in 6d9691d; -- |
@coke - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#77098 (status was 'resolved')
Searchable as RT77098$
The text was updated successfully, but these errors were encountered: