Skip to content

Commit

Permalink
Make sure coerce_type is included in param info
Browse files Browse the repository at this point in the history
Fixes R#2426
  • Loading branch information
lizmat committed Oct 25, 2018
1 parent 79bec89 commit 97996e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Code.pm6
Expand Up @@ -96,6 +96,8 @@ my class Code does Callable { # declared in BOOTSTRAP
}
$perl = '' unless soft_indirect_name_lookup($type);
}
$perl = $parm.coerce_type.^name ~ "($perl)"
unless nqp::eqaddr($parm.coerce_type,Mu);
$perl ~= $parm.modifier if $perl ne '';

my $name = $parm.name;
Expand Down

0 comments on commit 97996e5

Please sign in to comment.