Skip to content

Commit

Permalink
Missing decontainerize in junctional argument check in the multi-disp…
Browse files Browse the repository at this point in the history
…atcher. Gets us further with the junction tests.
  • Loading branch information
jnthn committed Jul 28, 2011
1 parent 56e2229 commit 49ede3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/binder/multidispatch.c
Expand Up @@ -317,7 +317,8 @@ static INTVAL has_junctional_args(PARROT_INTERP, PMC *args) {
INTVAL i;

for (i = 0; i < num_args; i++) {
PMC * const arg = VTABLE_get_pmc_keyed_int(interp, args, i);
PMC * const arg = Rakudo_cont_decontainerize(interp,
VTABLE_get_pmc_keyed_int(interp, args, i));
if (STABLE(arg)->type_check(interp, arg, Rakudo_types_junction_get()))
return 1;
}
Expand Down

0 comments on commit 49ede3c

Please sign in to comment.