On Sun Aug 08 22:14:02 2010, petdance wrote:
> From fe669b447b49aea2500f8ca29f7e20832d86684f Mon Sep 17 00:00:00 2001
> From: Andy Lester <a...@petdance.com>
> Date: Sun, 8 Aug 2010 23:26:59 -0500
> Subject: [PATCH] Fix a problem of setting *error with itself.
> 
> ---
>  src/binder/bind.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --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)) {

Thanks, applied in 6d9691d;

-- 
Will "Coke" Coleda

Reply via email to